| Home | Libraries | People | FAQ | More

#### ip::udp::resolver

The UDP resolver type.

    typedef basic_resolver< udp > resolver;

###### Types

Name | Description
--- | ---
endpoint_type | The endpoint type.
implementation_type | The underlying implementation type of I/O object.
iterator | The iterator type.
protocol_type | The protocol type.
query | The query type.
service_type | The type of the service that will be used to provide I/O operations.

###### Member Functions

Name | Description
--- | ---
async_resolve | Asynchronously perform forward resolution of a query to a list of entries. Asynchronously perform reverse resolution of an endpoint to a list of entries.
basic_resolver | Constructor.
cancel | Cancel any asynchronous operations that are waiting on the resolver.
get_io_service | Get the io_service associated with the object.
resolve | Perform forward resolution of a query to a list of entries. Perform reverse resolution of an endpoint to a list of entries.

###### Protected Member Functions

Name | Description
--- | ---
get_implementation | Get the underlying implementation of the I/O object.
get_service | Get the service associated with the I/O object.

###### Protected Data Members

Name | Description
--- | ---
implementation | (Deprecated: Use get_implementation().) The underlying implementation of the I/O object.
service | (Deprecated: Use get_service().) The service associated with the I/O object.

The `ip::basic_resolver` class template provides the ability to resolve a query to a list of endpoints.

###### Thread Safety

Distinct objects: Safe.

Shared objects: Unsafe.

###### Requirements

Header: `boost/asio/ip/udp.hpp`

Convenience header: `boost/asio.hpp`