Function rustix::net::sockopt::get_socket_linger
source · pub fn get_socket_linger<Fd: AsFd>(fd: Fd) -> Result<Option<Duration>>
Expand description
getsockopt(fd, SOL_SOCKET, SO_LINGER)
See the module-level documentation for more.