Function rustix::backend::net::sockopt::set_socket_timeout_old

source ยท
fn set_socket_timeout_old(
    fd: BorrowedFd<'_>,
    id: Timeout,
    timeout: Option<Duration>,
) -> Result<()>
Expand description

Same as set_socket_timeout but uses __kernel_old_timeval instead of __kernel_sock_timeval and _OLD constants instead of _NEW.