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