Module net

Module net 

Source
Expand description

Networking-related helper functions.

Functionsยง

is_graceful_tls_shutdown
Returns true when an io::Error represents 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.