Skip to content

QuantumGate::IPAddress::IsClassD

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

Checks whether the IP address is a class D address.

Signature

constexpr bool IsClassD() const noexcept;

Return values

Returns true if the IP address is a class D address, otherwise false. This class includes IPv4 addresses that have 111 as their first three bits, and a 0 for the fourth bit. This address range includes addresses from 224.0.0.0 to 239.255.255.255.

Clone this wiki locally