asio C++ library

PrevUpHomeNext

ip::basic_resolver_iterator::create

Create an iterator from an addrinfo list returned by getaddrinfo.

static basic_resolver_iterator create(
    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...

Create an iterator from a sequence of endpoints, host and service name.

template<
    typename EndpointIterator>
static basic_resolver_iterator create(
    EndpointIterator begin,
    EndpointIterator end,
    const std::string & host_name,
    const std::string & service_name);
  » more...

PrevUpHomeNext