rustix::net::sockopt

Function 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.