Function socket2::sys::set_tcp_keepalive

source ยท
pub(crate) fn set_tcp_keepalive(
    fd: c_int,
    keepalive: &TcpKeepalive,
) -> Result<()>