Returns
tifaddressis an object of classaddress. Does not returntfor other low-level address representations.
Returns
tif both arguments are designators for the same socket address.
Return
tifaddressis alocal-addressthat lives in the abstract namespace.
Returns a keyword symbol denoting the kind of
address(:IPV4, :IPV6 or :LOCAL). Ifaddressis not a known address object,nilis returned.
Returns the address type of
addressas 2 values:For unicast or multicast IPv6 addresses, a third value is returned which corresponds to the return value of IPV6-UNICAST-TYPE or IPV6-MULTICAST-TYPE, respectively.
- protocol, one of :IPV4 or :IPV6
- kind, one of
:unspecified,:loopback,:multicastor:unicast
Returns
tifaddressis a admin-local multicast IPv6 address.
Returns
tifaddressis an IPv6 address representing an IPv4 mapped address.
Returns the multicast type of
addressornilif it's not a multicast address.
Returns
tifaddressis an organization-local multicast IPv6 address.
Returns
tifaddressis an site-local multicast IPv6 address.
Returns
tifaddressis a solicited-node multicast IPv6 address.