An IPV4 address.
More...
Creates a null address (0.0.0.0).
IPAddress::IPAddress |
( |
const uint8 |
bytes[4] | ) |
|
|
explicitnoexcept |
Creates an address from 4 bytes.
Creates an address from 4 bytes.
IPAddress::IPAddress |
( |
uint32 |
asNativeEndian32Bit | ) |
|
|
explicitnoexcept |
Creates an address from a packed 32-bit integer, where the MSB is the first number in the address, and the LSB is the last.
IPAddress::IPAddress |
( |
const String & |
address | ) |
|
|
explicit |
Parses a string IP address of the form "a.b.c.d".
static void IPAddress::findAllAddresses |
( |
Array< IPAddress > & |
results | ) |
|
|
static |
Populates a list of all the IP addresses that this machine is using.
String IPAddress::toString |
( |
| ) |
const |
Returns a dot-separated string in the form "1.2.3.4".
Returns an address meaning "any" (0.0.0.0)
Returns an address meaning "broadcast" (255.255.255.255)
Returns an address meaning "localhost" (127.0.0.1)
bool IPAddress::operator== |
( |
const IPAddress & |
other | ) |
const |
|
noexcept |
bool IPAddress::operator!= |
( |
const IPAddress & |
other | ) |
const |
|
noexcept |
uint8 IPAddress::address[4] |
The elements of the IP address.
The documentation for this class was generated from the following file: