Method lrs::socket::Socket::domain

Retrieves the domain of this socket.

Syntax

impl Socket {
    fn domain(&self) -> Result<Domain, Errno>
}

Return value

Returns the domain of this socket.

See also