...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The type of the elements pointed to by the iterator.
typedef address_v6 value_type;
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. |
|
(Deprecated: Use make_address_v6().) Create an IPv6 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. |
|
(Deprecated: No replacement.) 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. (Deprecated: Use other overload.) Get the address as a string. |
|
(Deprecated: Use make_address_v4().) Converts an IPv4-mapped or IPv4-compatible address to an IPv4 address. |
|
(Deprecated: No replacement.) Create an IPv4-compatible IPv6 address. |
|
(Deprecated: Use make_address_v6().) 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 |
---|---|
Create an IPv6 address from raw bytes and scope ID. Create an IPv6 address from an IP address string. Createan IPv6 address from an IP address string. Create an IPv4-mapped IPv6 address from an IPv4 address. |
|
Create an IPv6 network from an address and prefix length. |
|
Output an address as a string. Output a network 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: boost/asio/ip/address_v6_iterator.hpp
Convenience header: boost/asio.hpp