Function rustix::net::sockopt::get_socket_domain
source ยท pub fn get_socket_domain<Fd: AsFd>(fd: Fd) -> Result<AddressFamily>
Expand description
getsockopt(fd, SOL_SOCKET, SO_DOMAIN)
See the module-level documentation for more.