Function rustix::net::sockopt::get_tcp_keepidle
source · pub fn get_tcp_keepidle<Fd: AsFd>(fd: Fd) -> Result<Duration>
Expand description
getsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE)
TCP_KEEPALIVE
on Apple platforms.
See the module-level documentation for more.