Skip to content

QuantumGate::IPAddress::IsPublic

Karel Donk edited this page Dec 23, 2021 · 3 revisions

Checks whether the IP address is in the public address space. An address is considered to be in the public address space if it's not IsLocal(), not IsReserved() and not IsMulticast().

Signature

constexpr bool IsPublic() const noexcept;

Return values

Returns true if the IP address is in the public address space, otherwise false.

Clone this wiki locally