rustix::net::sockopt

Function get_tcp_keepcnt

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

getsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT)

See the module-level documentation for more.