boost::corosio::parse_ipv6_address
Parse a string containing an IPv6 address.
Synopsis
Declared in <boost/corosio/ipv6_address.hpp>
[[nodiscard]]
std::error_code
parse_ipv6_address(
std::string_view s,
ipv6_address& addr) noexcept;
Description
This function attempts to parse the string as an IPv6 address and returns an error code if the string does not contain a valid IPv6 address.
Parameters
| Name | Description |
|---|---|
s |
The string to parse. |
addr |
The address to store the result. |
Created with MrDocs