-
Couldn't load subscription status.
- Fork 23
QuantumGate::IPAddress::TryParse
Karel Donk edited this page Dec 23, 2021
·
5 revisions
Attempts to parse an IP address from a string.
static bool TryParse(const WChar* ipaddr_str, IPAddress& ipaddr) noexcept;static bool TryParse(const String& ipaddr_str, IPAddress& ipaddr) noexcept;static bool TryParse(const BinaryIPAddress& bin_ipaddr, IPAddress& ipaddr) noexcept;| Name | Description |
|---|---|
ipaddr_str |
The IP address in string format. |
bin_ipaddr |
A QuantumGate::BinaryIPAddress containing the IP address. |
ipaddr |
The QuantumGate::IPAddress object to store the parsed value in. |
Returns true if the operation succeeded, otherwise false. Upon successful completion the parsed address will be stored in the ipaddr parameter.