typedef basic_resolver< tcp > resolver;
Name |
Description |
---|---|
The endpoint type. |
|
The type of the executor associated with the object. |
|
A bitmask type (C++ Std [lib.bitmask.types]). |
|
(Deprecated.) The iterator type. |
|
The protocol type. |
|
(Deprecated.) The query type. |
|
The results type. |
Name |
Description |
---|---|
(Deprecated: Use overload with separate host and service parameters.)
Asynchronously perform forward resolution of a query to a list
of entries. |
|
Constructor. |
|
Cancel any asynchronous operations that are waiting on the resolver. |
|
Get the executor associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context associated with the object. |
|
Move-assign a basic_resolver from another. |
|
(Deprecated: Use overload with separate host and service parameters.)
Perform forward resolution of a query to a list of entries.
|
|
Destroys the resolver. |
Name |
Description |
---|---|
Only return IPv4 addresses if a non-loopback IPv4 address is configured for the system. Only return IPv6 addresses if a non-loopback IPv6 address is configured for the system. |
|
If used with v4_mapped, return all matching IPv6 and IPv4 addresses. |
|
Determine the canonical name of the host specified in the query. |
|
Host name should be treated as a numeric string defining an IPv4 or IPv6 address and no name resolution should be attempted. |
|
Service name should be treated as a numeric string defining a port number and no name resolution should be attempted. |
|
Indicate that returned endpoint is intended for use as a locally bound socket endpoint. |
|
If the query protocol family is specified as IPv6, return IPv4-mapped IPv6 addresses on finding no IPv6 addresses. |
The ip::basic_resolver
class template provides the ability to resolve a query to a list of endpoints.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/ip/tcp.hpp
Convenience header: asio.hpp