Module tcp

Source

Structs§

TcpConnectConfig
TcpKeepalive
Configures a socket’s TCP keepalive parameters.
TcpListenConfig

Constants§

INPUT_BUFFER_SIZE
Size of the internal reading buffer. It implies that at most the generated crate::network::NetEvent::Message will contains a chunk of data of this value.
LISTENER_BACKLOG
The maximum length of the pending (unaccepted) connection queue of a listener.

Functions§

check_stream_ready
Check if a TcpStream can be considered connected.