Implements IP version 6 style addresses.
class address_v6
Name |
Description |
---|---|
The type used to represent an address as an array of bytes. |
Name |
Description |
---|---|
Default constructor. Construct an address from raw bytes and scope ID. Copy constructor. |
|
Obtain an address object that represents any address. |
|
Create an address from an IP address string. |
|
Determine whether the address is link local. |
|
Determine whether the address is a loopback address. |
|
Determine whether the address is a multicast address. |
|
Determine whether the address is a global multicast address. |
|
Determine whether the address is a link-local multicast address. |
|
Determine whether the address is a node-local multicast address. |
|
Determine whether the address is a org-local multicast address. |
|
Determine whether the address is a site-local multicast address. |
|
Determine whether the address is site local. |
|
Determine whether the address is unspecified. |
|
Determine whether the address is an IPv4-compatible address. |
|
Determine whether the address is a mapped IPv4 address. |
|
Obtain an address object that represents the loopback address. |
|
Assign from another address. |
|
The scope ID of the address. |
|
Get the address in bytes, in network byte order. |
|
Get the address as a string. |
|
Converts an IPv4-mapped or IPv4-compatible address to an IPv4 address. |
|
Create an IPv4-compatible IPv6 address. |
|
Create an IPv4-mapped IPv6 address. |
Name |
Description |
---|---|
Compare two addresses for inequality. |
|
Compare addresses for ordering. |
|
Compare addresses for ordering. |
|
Compare two addresses for equality. |
|
Compare addresses for ordering. |
|
Compare addresses for ordering. |
Name |
Description |
---|---|
Output an address as a string. |
The ip::address_v6
class provides the ability to use and manipulate IP version 6 addresses.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/ip/address_v6.hpp
Convenience header: asio.hpp