Represents an IPv6 network.
class network_v6
Name |
Description |
---|---|
Obtain the address object specified when the network object was created. |
|
Obtain the true network address, omitting any host bits. |
|
Obtain an address range corresponding to the hosts in the network. |
|
Test if network is a valid host address. |
|
Test if a network is a real subnet of another network. |
|
Obtain an address object that represents the network address. |
|
Default constructor. Construct a network based on the specified address and prefix length. Copy constructor. |
|
Assign from another network. |
|
Obtain the prefix length that was specified when the network object was created. |
|
Get the network as an address in dotted decimal format. |
Name |
Description |
---|---|
Compare two networks for inequality. |
|
Compare two networks for equality. |
Name |
Description |
---|---|
Create an IPv6 network from a string containing IP address and prefix length. Create an IPv6 address from an IP address string in dotted decimal form. |
The ip::network_v6
class provides the ability to use and manipulate IP version 6 networks.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/ip/network_v6.hpp
Convenience header: asio.hpp