Function rustix::net::sockopt::set_socket_keepalive
source ยท 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.