pub fn set_socket_keepalive<Fd: AsFd>(fd: Fd, value: bool) -> Result<()>
Expand description

setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, value)

See the module-level documentation for more.