Function socket2::sys::setsockopt

source ยท
pub(crate) unsafe fn setsockopt<T>(
    fd: c_int,
    opt: c_int,
    val: c_int,
    payload: T,
) -> Result<()>
Expand description

Caller must ensure T is the correct type for opt and val.