-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::IPAddress::IsClassB
Karel Donk edited this page Dec 23, 2021
·
3 revisions
Checks whether the IP address is a class B address.
constexpr bool IsClassB() const noexcept;
Returns true
if the IP address is a class B address, otherwise false
. Class B includes any IPv4 address from 128.0.0.0
to 191.255.255.255
. This represents the addresses that have a 1
for their first bit, and a 0
for their second bit.