Expand description
Networking-related helper functions.
Functionsยง
- is_
graceful_ tls_ shutdown - Returns true when an
io::Errorrepresents a peer-initiated, graceful TLS shutdown (close_notify), rather than a real I/O failure. - set_
keepalive - Sets the TCP keepalive behavior on a socket.
- set_
receive_ buffer_ size - Sets the receive buffer size for a socket.
- set_
send_ buffer_ size - Sets the send buffer size for a socket.