Function nix::sys::socket::getsockopt
source ยท pub fn getsockopt<F: AsFd, O: GetSockOpt>(fd: &F, opt: O) -> Result<O::Val>
Available on crate feature
socket
only.Expand description
Get the current value for the requested socket option