43 static IPAddress local (
bool IPv6 =
false) noexcept;
47 static void findAllAddresses (
Array<IPAddress>& results,
bool includeIPv6 =
false);
58 static IPAddress getLocalAddress (
bool includeIPv6 =
false);
68 explicit IPAddress (
const uint8* bytes,
bool IPv6 =
false) noexcept;
73 explicit IPAddress (
const uint16* bytes) noexcept;
76 IPAddress (uint8 address1, uint8 address2, uint8 address3, uint8 address4) noexcept;
79 IPAddress (uint16 address1, uint16 address2, uint16 address3, uint16 address4,
80 uint16 address5, uint16 address6, uint16 address7, uint16 address8) noexcept;
85 explicit IPAddress (uint32 asNativeEndian32Bit) noexcept;
102 int compare (
const IPAddress&)
const noexcept;
104 bool operator== (
const IPAddress&)
const noexcept;
105 bool operator!= (
const IPAddress&)
const noexcept;
106 bool operator< (
const IPAddress&)
const noexcept;
107 bool operator> (
const IPAddress&)
const noexcept;
108 bool operator<= (
const IPAddress&)
const noexcept;
109 bool operator>= (
const IPAddress&)
const noexcept;
123 static String getFormattedAddress (
const String& unformattedAddress);
126 static bool isIPv4MappedAddress (
const IPAddress& mappedAddress);