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