| extends: | Object |
|---|
Returns true if the address is a broadcast address.
Only IPv4 addresses can be broadcast addresses. All bits are one. IPv6 addresses always return false.
Return true if the address is a global multicast address.
IPv4 most be in the 224.0.1.0 to 238.255.255.255 range. IPv6 most be in the FFxF:x:x:x:x:x:x:x range.
Returns true if the address is IPv4 compatible.
IPv4 addresses always return true. IPv6 address must be in the ::x:x range (first 96 bits are zero).
Returns true if the address is an IPv4 mapped IPv6 address.
IPv4 addresses always return true. IPv6 addresses must be in the ::FFFF:x:x range.
Returns true if the address is a link local unicast address.
IPv4 addresses are in the 169.254.0.0/16 range (RFC 3927). IPv6 addresses have 1111 1110 10 as the first 10 bits, followed by 54 zeros.
Returns true if the address is a link local multicast address.
IPv4 addresses are in the 224.0.0.0/24 range. Note that this overlaps with the range for well-known multicast addresses.
Returns true if the address is a loopback address.
IPv4 address must be 127.0.0.1 IPv6 address must be ::1
Returns true if the address is a multicast address.
IPv4 addresses must be in the 224.0.0.0 to 239.255.255.255 range (the first four bits have the value 1110). IPv6 addresses are in the FFxx:x:x:x:x:x:x:x range.
Returns true if the address is a node-local multicast address.
IPv4 does not support node-local multicast and will always return false. IPv6 addresses must be in the FFx1:x:x:x:x:x:x:x range.
Returns true if the address is an organization-local multicast address.
IPv4 addresses must be in the 239.192.0.0/16 range. IPv6 addresses must be in the FFx8:x:x:x:x:x:x:x range.
Returns true if the address is a site-local unicast address.
IPv4 addresses are in on of the 10.0.0.0/24, 192.168.0.0/16 or 172.16.0.0 to 172.31.255.255 ranges. IPv6 addresses have 1111 1110 11 as the first 10 bits, followed by 38 zeros.
Returns true if the address is a site-local multicast address.
IPv4 addresses are in the 239.255.0.0/16 range. IPv6 addresses are in the FFx5:x:x:x:x:x:x:x range.
Returns true if the address is an unicast address.
An address is unicast if it is neither a wildcard, broadcast, or multicast.
Returns true if the address is a well-known multicast address.
IPv4 addresses are in the 224.0.0.0/8 range. IPv6 addresses are in the FF0x:x:x:x:x:x:x:x range.
| extends: | IPAddress |
|---|
| extends: | IPAddress |
|---|
| extends: | Object |
|---|
| extends: | SocketAddress |
|---|
| extends: | SocketAddress |
|---|