From: Guus Sliepen Date: Sun, 17 Mar 2019 21:01:43 +0000 (+0100) Subject: Add functions to get the amount of bytes in chanenl send and receive buffers. X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=ecfe7cbbe08dc99ba6f329ad66bb8ee09ce9539b;hp=ecfe7cbbe08dc99ba6f329ad66bb8ee09ce9539b;p=meshlink Add functions to get the amount of bytes in chanenl send and receive buffers. meshlink_channel_get_sendq() and meshlink_channel_get_recvq() call the underlying UTCP connection's utcp_get_sendq() and utcp_get_recvq(). These return the amount of bytes waiting in the send and receive buffers. In particular, a non-zero value for sendq means that sent data has not been ACKed by the peer yet. ---