Function nix::sys::socket::setsockopt [] [src]

pub fn setsockopt<O: SetSockOpt>(fd: RawFd, opt: O, val: &O::Val) -> Result<()>

Sets the value for the requested socket option

Further reading