Struct Address
Address storage, that can hold either an IPv4 or IPv6 address.
Constructors
Name | Description |
this
(address)
|
Initializes the addres with an IPv4 address.
|
Methods
Name | Description |
isAny
()
|
Determines whether this is an unspecified address.
|
isLoopback
()
|
Determines whether this is a loopback address.
|
isMulticast
()
|
Determines whether this address' destination is a group of endpoints.
|
isV4
()
|
Determines whether this is an IPv4 address.
|
isV6
()
|
Determines whether this is an IPv6 address.
|
opEquals
(that)
|
Compares two addresses for equality.
|
toV4
()
|
Get the address as an IPv4 address.
|
toV6
()
|
Get the address as an IPv6 address.
|