-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::IPAddress::IsClassC
Karel Donk edited this page Dec 23, 2021
·
2 revisions
Checks whether the IP address is a class C address.
constexpr bool IsClassC() const noexcept;Returns true if the IP address is a class C address, otherwise false. Class C is defined as IPv4 addresses ranging from 192.0.0.0 to 223.255.255.255. This represents all of the addresses with a 1 for their first two bits, and a 0 for their third bit.