Home | Libraries | People | FAQ | More |
Implements version-independent IP addresses.
class address
Name |
Description |
---|---|
Default constructor. |
|
(Deprecated: Use make_address().) Create an address from an IPv4 address string in dotted decimal form, or from an IPv6 address in hexadecimal notation. |
|
Determine whether the address is a loopback address. |
|
Determine whether the address is a multicast address. |
|
Determine whether the address is unspecified. |
|
Get whether the address is an IP version 4 address. |
|
Get whether the address is an IP version 6 address. |
|
Assign from another address. |
|
Get the address as a string. |
|
Get the address as an IP version 4 address. |
|
Get the address as an IP version 6 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 address from an IPv4 address string in dotted decimal form, or from an IPv6 address in hexadecimal notation. |
|
Output an address as a string. |
The ip::address
class provides the ability to use either IP version 4 or version 6 addresses.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/ip/address.hpp
Convenience header: boost/asio.hpp