boost::corosio::resolver_results

A range of entries produced by a resolver.

Synopsis

class resolver_results;

Description

This class holds the results of a DNS resolution query. It provides a range interface for iterating over the resolved endpoints.

Thread Safety

Distinct objects: Safe. Shared objects: Safe (immutable after construction).

Member Functions

Name

Description

resolver_results [constructor]

Constructors

begin

Get an iterator to the first entry.

cbegin

Get an iterator to the first entry.

cend

Get an iterator past the last entry.

empty

Check if the results are empty.

end

Get an iterator past the last entry.

size

Get the number of entries.

swap

Swap with another results object.

Friends

Name Description

boost::corosio::operator!=

Test for inequality.

boost::corosio::operator==

Test for equality.

Created with MrDocs