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