nix::sys::socket

Function getsockopt

Source
pub fn getsockopt<O: GetSockOpt>(fd: RawFd, opt: O) -> Result<O::Val>
Expand description

Get the current value for the requested socket option

Further reading