[−][src]Module palaver::socket
Socket-related functionality
Structs
SockFlag | Akin to nix::sys::socket::SockFlag but avail cross-platform |
Functions
accept | Like accept4, falls back to non-atomic accept |
is_connected | Intended to check for completion after |
socket | Falls back to non-atomic if SOCK_NONBLOCK/SOCK_CLOEXEC unavailable |
unreceived | Count of bytes that have yet to be read from a socket |
unsent | Count of bytes that have been written to a socket, but have yet to be acked by the remote end. Works on Android, Linux, macOS, iOS, FreeBSD and NetBSD, returns 0 on others. |