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

pub fn getsockopt<O: SockOpt>(fd: Fd, level: SockLevel, opt: O) -> Result<O::Val>

Get the current value for the requested socket option

Further reading