Function rustix::net::sockopt::get_socket_protocol
source ยท 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.