Reference | Class Hierarchy | Class Index | Member Index |
Classes | |
class | address |
Implements version-independent IP addresses. More... | |
class | address_v4 |
Implements IP version 4 style addresses. More... | |
class | address_v6 |
Implements IP version 6 style addresses. More... | |
class | basic_endpoint |
Describes an endpoint for a version-independent IP socket. More... | |
class | basic_resolver |
Provides endpoint resolution functionality. More... | |
class | basic_resolver_entry |
An entry produced by a resolver. More... | |
class | basic_resolver_iterator |
An iterator over the entries produced by a resolver. More... | |
class | basic_resolver_query |
An query to be passed to a resolver. More... | |
class | resolver_query_base |
The resolver_query_base class is used as a base for the basic_resolver_query class templates to provide a common place to define the flag constants. More... | |
class | resolver_service |
Default service implementation for a resolver. More... | |
class | tcp |
Encapsulates the flags needed for TCP. More... | |
class | udp |
Encapsulates the flags needed for UDP. More... | |
Namespaces | |
namespace | multicast |
The asio::ip::multicast namespace defines the socket options used for multicast. | |
namespace | unicast |
The asio::ip::unicast namespace defines the socket options used for unicast. | |
Typedefs | |
typedef implementation_defined | v6_only |
Socket option for determining whether an IPv6 socket supports IPv6 communication only. | |
Functions | |
std::string | host_name () |
Get the current host name. | |
std::string | host_name (asio::error_code &ec) |
Get the current host name. |
typedef implementation_defined asio::ip::v6_only |
Socket option for determining whether an IPv6 socket supports IPv6 communication only.
Implements the IPPROTO_IPV6/IP_V6ONLY socket option.
asio::ip::tcp::socket socket(io_service); ... asio::ip::v6_only option(true); socket.set_option(option);
asio::ip::tcp::socket socket(io_service); ... asio::ip::v6_only option; socket.get_option(option); bool v6_only = option.value();
std::string asio::ip::host_name | ( | ) |
Get the current host name.
std::string asio::ip::host_name | ( | asio::error_code & | ec | ) |
Get the current host name.