47 static IPAddress local (
bool IPv6 =
false) noexcept;
51 static void findAllAddresses (
Array<IPAddress>& results,
bool includeIPv6 =
false);
62 static IPAddress getLocalAddress (
bool includeIPv6 =
false);
72 explicit IPAddress (
const uint8* bytes,
bool IPv6 =
false) noexcept;
77 explicit IPAddress (
const uint16* bytes) noexcept;
80 IPAddress (uint8 address1, uint8 address2, uint8 address3, uint8 address4) noexcept;
83 IPAddress (uint16 address1, uint16 address2, uint16 address3, uint16 address4,
84 uint16 address5, uint16 address6, uint16 address7, uint16 address8) noexcept;
89 explicit IPAddress (uint32 asNativeEndian32Bit) noexcept;
106 int compare (
const IPAddress&)
const noexcept;
108 bool operator== (
const IPAddress&)
const noexcept;
109 bool operator!= (
const IPAddress&)
const noexcept;
110 bool operator< (
const IPAddress&)
const noexcept;
111 bool operator> (
const IPAddress&)
const noexcept;
112 bool operator<= (
const IPAddress&)
const noexcept;
113 bool operator>= (
const IPAddress&)
const noexcept;
127 static String getFormattedAddress (
const String& unformattedAddress);
130 static bool isIPv4MappedAddress (
const IPAddress& mappedAddress);
#define JUCE_API
This macro is added to all JUCE public class declarations.
Represents an IP address.
Holds a resizable array of primitive or copy-by-value objects.