Namespaces | |
namespace | detail |
namespace | multicast |
namespace | unicast |
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 | icmp |
Encapsulates the flags needed for ICMP. More... | |
class | resolver_query_base |
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... | |
Typedefs | |
typedef asio::detail::socket_option::boolean < asio::detail::custom_socket_option_level, asio::detail::always_fail_option > | v6_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 asio::detail::socket_option::boolean< asio::detail::custom_socket_option_level, asio::detail::always_fail_option> 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();
Definition at line 60 of file v6_only.hpp.
std::string asio::ip::host_name | ( | ) | [inline] |
Get the current host name.
Definition at line 37 of file host_name.hpp.
std::string asio::ip::host_name | ( | asio::error_code & | ec | ) | [inline] |
Get the current host name.
Definition at line 49 of file host_name.hpp.