-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::IPAddress::IPAddress
Karel Donk edited this page Dec 23, 2021
·
8 revisions
Constructs a QuantumGate::IPAddress
object.
constexpr IPAddress() noexcept;
explicit IPAddress(const WChar* ipaddr_str);
explicit IPAddress(const String& ipaddr_str);
explicit IPAddress(const sockaddr_storage* saddr);
explicit IPAddress(const sockaddr* saddr);
constexpr IPAddress(const BinaryIPAddress& bin_ipaddr);
Name | Description |
---|---|
ipaddr_str |
The IP address in string format. |
saddr |
A pointer to a sockaddr_storage or sockaddr object. |
bin_ipaddr |
A reference to a QuantumGate::BinaryIPAddress object. |
May throw a std::invalid_argument
exception when any of the parameters are invalid.