Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ip::basic_resolver_results::const_reference

The type of a const reference to a value in the range.

typedef const value_type & const_reference;
Types

Name

Description

endpoint_type

The endpoint type associated with the endpoint entry.

protocol_type

The protocol type associated with the endpoint entry.

Member Functions

Name

Description

basic_resolver_entry

Default constructor.

Construct with specified endpoint, host name and service name.

endpoint

Get the endpoint associated with the entry.

host_name

Get the host name associated with the entry.

operator endpoint_type

Convert to the endpoint associated with the entry.

service_name

Get the service name associated with the entry.

The ip::basic_resolver_entry class template describes an entry as returned by a resolver.

Thread Safety

Distinct objects: Safe.

Shared objects: Unsafe.

Requirements

Header: boost/asio/ip/basic_resolver_results.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext