Method lrs::socket::Socket::ipv6_is_ipv6_only

Retrieves whether this socket only handles Ipv6 packets.

Syntax

impl Socket {
    fn ipv6_is_ipv6_only(&self) -> Result<bool, Errno>
}

Return value

Returns whether this socket only handles Ipv6 packets.

See also