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 for the latest Boost documentation.
PrevUpHomeNext

ip::basic_resolver_iterator::create

Create an iterator from an addrinfo list returned by getaddrinfo.

static basic_resolver_iterator create(
    boost::asio::detail::addrinfo_type * address_info,
    const std::string & host_name,
    const std::string & service_name);
  » more...

Create an iterator from an endpoint, host name and service name.

static basic_resolver_iterator create(
    const typename InternetProtocol::endpoint & endpoint,
    const std::string & host_name,
    const std::string & service_name);
  » more...

PrevUpHomeNext