pub fn get_socket_protocol<Fd: AsFd>(fd: Fd) -> Result<Option<Protocol>>
Expand description

getsockopt(fd, SOL_SOCKET, SO_PROTOCOL)

See the module-level documentation for more.