rustix::net::sockopt

Function set_tcp_keepcnt

source
pub fn set_tcp_keepcnt<Fd: AsFd>(fd: Fd, value: u32) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, value)

See the module-level documentation for more.