Clementine
|
Provides endpoint resolution functionality. More...
#include <basic_resolver.hpp>
Classes | |
struct | rebind_executor |
Rebinds the resolver type to another executor. More... | |
Public Types | |
typedef Executor | executor_type |
The type of the executor associated with the object. | |
typedef InternetProtocol | protocol_type |
The protocol type. | |
typedef InternetProtocol::endpoint | endpoint_type |
The endpoint type. | |
typedef basic_resolver_query< InternetProtocol > | query |
(Deprecated.) The query type. | |
typedef basic_resolver_iterator< InternetProtocol > | iterator |
(Deprecated.) The iterator type. | |
typedef basic_resolver_results< InternetProtocol > | results_type |
The results type. | |
![]() | |
enum | flags { canonical_name = ASIO_OS_DEF(AI_CANONNAME), passive = ASIO_OS_DEF(AI_PASSIVE), numeric_host = ASIO_OS_DEF(AI_NUMERICHOST), numeric_service = ASIO_OS_DEF(AI_NUMERICSERV), v4_mapped = ASIO_OS_DEF(AI_V4MAPPED), all_matching = ASIO_OS_DEF(AI_ALL), address_configured = ASIO_OS_DEF(AI_ADDRCONFIG) } |
Public Member Functions | |
basic_resolver (const executor_type &ex) | |
Construct with executor. More... | |
template<typename ExecutionContext > | |
basic_resolver (ExecutionContext &context, typename enable_if< is_convertible< ExecutionContext &, execution_context &>::value >::type *=0) | |
Construct with execution context. More... | |
~basic_resolver () | |
Destroys the resolver. More... | |
executor_type | get_executor () ASIO_NOEXCEPT |
Get the executor associated with the object. | |
void | cancel () |
Cancel any asynchronous operations that are waiting on the resolver. More... | |
results_type | resolve (const query &q) |
(Deprecated: Use overload with separate host and service parameters.) Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (const query &q, asio::error_code &ec) |
(Deprecated: Use overload with separate host and service parameters.) Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, asio::error_code &ec) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, resolver_base::flags resolve_flags) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, resolver_base::flags resolve_flags, asio::error_code &ec) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (const protocol_type &protocol, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (const protocol_type &protocol, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, asio::error_code &ec) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (const protocol_type &protocol, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, resolver_base::flags resolve_flags) |
Perform forward resolution of a query to a list of entries. More... | |
results_type | resolve (const protocol_type &protocol, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service, resolver_base::flags resolve_flags, asio::error_code &ec) |
Perform forward resolution of a query to a list of entries. More... | |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(const query &q | |
(Deprecated: Use overload with separate host and service parameters.) Asynchronously perform forward resolution of a query to a list of entries. More... | |
ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) | |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(ASIO_STRING_VIEW_PARAM host | |
Asynchronously perform forward resolution of a query to a list of entries. More... | |
ASIO_STRING_VIEW_PARAM | ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(ASIO_STRING_VIEW_PARAM host | |
Asynchronously perform forward resolution of a query to a list of entries. More... | |
ASIO_STRING_VIEW_PARAM resolver_base::flags | ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(const protocol_type &protocol | |
Asynchronously perform forward resolution of a query to a list of entries. More... | |
ASIO_STRING_VIEW_PARAM ASIO_STRING_VIEW_PARAM | ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(const protocol_type &protocol | |
Asynchronously perform forward resolution of a query to a list of entries. More... | |
ASIO_STRING_VIEW_PARAM ASIO_STRING_VIEW_PARAM resolver_base::flags | ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) |
results_type | resolve (const endpoint_type &e) |
Perform reverse resolution of an endpoint to a list of entries. More... | |
results_type | resolve (const endpoint_type &e, asio::error_code &ec) |
Perform reverse resolution of an endpoint to a list of entries. More... | |
template<ASIO_COMPLETION_TOKEN_FOR(void(asio::error_code, results_type)) ResolveHandler ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type) > | |
ASIO_INITFN_AUTO_RESULT_TYPE (ResolveHandler, void(asio::error_code, results_type)) async_resolve(const endpoint_type &e | |
Asynchronously perform reverse resolution of an endpoint to a list of entries. More... | |
ASIO_MOVE_ARG (ResolveHandler) handler ASIO_DEFAULT_COMPLETION_TOKEN(executor_type)) | |
Additional Inherited Members | |
![]() | |
~resolver_base () | |
Protected destructor to prevent deletion through this type. | |
Provides endpoint resolution functionality.
The basic_resolver class template provides the ability to resolve a query to a list of endpoints.
|
inlineexplicit |
Construct with executor.
This constructor creates a basic_resolver.
ex | The I/O executor that the resolver will use, by default, to dispatch handlers for any asynchronous operations performed on the resolver. |
|
inlineexplicit |
Construct with execution context.
This constructor creates a basic_resolver.
context | An execution context which provides the I/O executor that the resolver will use, by default, to dispatch handlers for any asynchronous operations performed on the resolver. |
|
inline |
Destroys the resolver.
This function destroys the resolver, cancelling any outstanding asynchronous wait operations associated with the resolver as if by calling cancel
.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) | const & |
(Deprecated: Use overload with separate host and service parameters.) Asynchronously perform forward resolution of a query to a list of entries.
This function is used to asynchronously resolve a query into a list of endpoint entries.
q | A query object that determines what endpoints will be returned. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) |
Asynchronously perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) |
Asynchronously perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) | const & |
Asynchronously perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) | const & |
Asynchronously perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
asio::ip::basic_resolver< InternetProtocol, Executor >::ASIO_INITFN_AUTO_RESULT_TYPE | ( | ResolveHandler | , |
void(asio::error_code, results_type) | |||
) | const & |
Asynchronously perform reverse resolution of an endpoint to a list of entries.
This function is used to asynchronously resolve an endpoint into a list of endpoint entries.
e | An endpoint object that determines what endpoints will be returned. |
handler | The handler to be called when the resolve operation completes. Copies will be made of the handler as required. The function signature of the handler must be: void handler( resolver::results_type results // Resolved endpoints as a range. ); |
A successful resolve operation is guaranteed to pass a non-empty range to the handler.
|
inline |
Cancel any asynchronous operations that are waiting on the resolver.
This function forces the completion of any pending asynchronous operations on the host resolver. The handler for each cancelled operation will be invoked with the asio::error::operation_aborted error code.
|
inline |
(Deprecated: Use overload with separate host and service parameters.) Perform forward resolution of a query to a list of entries.
This function is used to resolve a query into a list of endpoint entries.
q | A query object that determines what endpoints will be returned. |
asio::system_error | Thrown on failure. |
|
inline |
(Deprecated: Use overload with separate host and service parameters.) Perform forward resolution of a query to a list of entries.
This function is used to resolve a query into a list of endpoint entries.
q | A query object that determines what endpoints will be returned. |
ec | Set to indicate what error occurred, if any. |
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
asio::system_error | Thrown on failure. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
ec | Set to indicate what error occurred, if any. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
asio::system_error | Thrown on failure. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
ec | Set to indicate what error occurred, if any. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
asio::system_error | Thrown on failure. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
ec | Set to indicate what error occurred, if any. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
asio::system_error | Thrown on failure. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform forward resolution of a query to a list of entries.
This function is used to resolve host and service names into a list of endpoint entries.
protocol | A protocol object, normally representing either the IPv4 or IPv6 version of an internet protocol. |
host | A string identifying a location. May be a descriptive name or a numeric address string. If an empty string and the passive flag has been specified, the resolved endpoints are suitable for local service binding. If an empty string and passive is not specified, the resolved endpoints will use the loopback address. |
service | A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number. May be an empty string, in which case all resolved endpoints will have a port number of 0. |
resolve_flags | A set of flags that determine how name resolution should be performed. The default flags are suitable for communication with remote hosts. See the resolver_base documentation for the set of available flags. |
ec | Set to indicate what error occurred, if any. |
/etc/hosts
. On Windows, host names may be defined in the file c:\windows\system32\drivers\etc\hosts
. Remote host name resolution is performed using DNS. Operating systems may use additional locations when resolving host names (such as NETBIOS names on Windows).On POSIX systems, service names are typically defined in the file /etc/services
. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services
. Operating systems may use additional locations when resolving service names.
|
inline |
Perform reverse resolution of an endpoint to a list of entries.
This function is used to resolve an endpoint into a list of endpoint entries.
e | An endpoint object that determines what endpoints will be returned. |
asio::system_error | Thrown on failure. |
|
inline |
Perform reverse resolution of an endpoint to a list of entries.
This function is used to resolve an endpoint into a list of endpoint entries.
e | An endpoint object that determines what endpoints will be returned. |
ec | Set to indicate what error occurred, if any. |