Skip to main content

Module tcp

Module tcp 

Available on crate feature net only.
Expand description

TCP socket state and options that socket2 does not cover.

See TcpInfo and set_tcp_notsent_lowat.

Structs§

TcpInfo
Snapshot of the kernel’s state of a TCP connection.

Constants§

DEFAULT_NOTSENT_LOWATAndroid or Apple or Linux
TCP_NOTSENT_LOWAT that SocketOptions::default_tcp, the TCP listener and the default TCP connector set.

Functions§

set_tcp_notsent_lowatAndroid or Apple or Linux
Set the TCP_NOTSENT_LOWAT option on this socket.
tcp_notsent_lowatAndroid or Apple or Linux
Get the TCP_NOTSENT_LOWAT option of this socket.