...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
An iterator over the entries produced by a resolver.
template< typename InternetProtocol> class basic_resolver_iterator
Default constructor creates an end iterator.
Create an iterator from an addrinfo list returned by getaddrinfo.
Create an iterator from an endpoint, host name and service name.
The ip::basic_resolver_iterator class template is used to define iterators over the results returned by a resolver.
The iterator's value_type, obtained when the iterator is dereferenced, is:
Distinct objects: Safe.
Shared objects: Unsafe.