-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::IPAddress::IsClassA
Karel Donk edited this page Dec 23, 2021
·
3 revisions
Checks whether the IP address is a class A address.
constexpr const IsClassA() const noexcept;
Returns true
if the IP address is a class A address, otherwise false
. If the first bit of an IPv4 address is 0
, this means that the address is part of class A. This means that any address from 0.0.0.0
to 127.255.255.255
is in class A.