Structs§
- TcpConnect
Config - TcpKeepalive
- Configures a socket’s TCP keepalive parameters.
- TcpListen
Config
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.