Adds asio library and Storage Module

This commit is contained in:
Suraxius committed 2020-12-01 22:41:04 +01:00
1 parent 79a6ee5779
commit 30439acd43
4869 files changed
+618801 -903

No files matched your search

@@ -0,0 +1,48 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::~basic_resolver</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="v4_mapped.html" title="ip::basic_resolver::v4_mapped">
<link rel="next" href="../ip__basic_resolver__rebind_executor.html" title="ip::basic_resolver::rebind_executor">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="v4_mapped.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../ip__basic_resolver__rebind_executor.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver._basic_resolver"></a><a class="link" href="_basic_resolver.html" title="ip::basic_resolver::~basic_resolver">ip::basic_resolver::~basic_resolver</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver._basic_resolver"></a>
Destroys
the resolver.
</p>
<pre class="programlisting">~basic_resolver();
</pre>
<p>
This function destroys the resolver, cancelling any outstanding asynchronous
wait operations associated with the resolver as if by calling <code class="computeroutput">cancel</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="v4_mapped.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../ip__basic_resolver__rebind_executor.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::address_configured</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="next" href="all_matching.html" title="ip::basic_resolver::all_matching">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../ip__basic_resolver.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="all_matching.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.address_configured"></a><a class="link" href="address_configured.html" title="ip::basic_resolver::address_configured">ip::basic_resolver::address_configured</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.address_configured"></a>
Only
return IPv4 addresses if a non-loopback IPv4 address is configured for
the system. Only return IPv6 addresses if a non-loopback IPv6 address is
configured for the system.
</p>
<pre class="programlisting">static const flags address_configured = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../ip__basic_resolver.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="all_matching.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,47 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::all_matching</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="address_configured.html" title="ip::basic_resolver::address_configured">
<link rel="next" href="async_resolve.html" title="ip::basic_resolver::async_resolve">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="address_configured.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="async_resolve.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.all_matching"></a><a class="link" href="all_matching.html" title="ip::basic_resolver::all_matching">ip::basic_resolver::all_matching</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.all_matching"></a>
If
used with v4_mapped, return all matching IPv6 and IPv4 addresses.
</p>
<pre class="programlisting">static const flags all_matching = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="address_configured.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="async_resolve.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,99 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="all_matching.html" title="ip::basic_resolver::all_matching">
<link rel="next" href="async_resolve/overload1.html" title="ip::basic_resolver::async_resolve (1 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="all_matching.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="async_resolve/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve"></a><a class="link" href="async_resolve.html" title="ip::basic_resolver::async_resolve">ip::basic_resolver::async_resolve</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.async_resolve"></a>
(Deprecated:
Use overload with separate host and service parameters.) Asynchronously
perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload1.html" title="ip::basic_resolver::async_resolve (1 of 6 overloads)">async_resolve</a>(
const query &amp; q,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload1.html" title="ip::basic_resolver::async_resolve (1 of 6 overloads)">more...</a></em></span>
</pre>
<p>
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload2.html" title="ip::basic_resolver::async_resolve (2 of 6 overloads)">async_resolve</a>(
string_view host,
string_view service,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload2.html" title="ip::basic_resolver::async_resolve (2 of 6 overloads)">more...</a></em></span>
template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload3.html" title="ip::basic_resolver::async_resolve (3 of 6 overloads)">async_resolve</a>(
string_view host,
string_view service,
resolver_base::flags resolve_flags,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload3.html" title="ip::basic_resolver::async_resolve (3 of 6 overloads)">more...</a></em></span>
template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload4.html" title="ip::basic_resolver::async_resolve (4 of 6 overloads)">async_resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload4.html" title="ip::basic_resolver::async_resolve (4 of 6 overloads)">more...</a></em></span>
template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload5.html" title="ip::basic_resolver::async_resolve (5 of 6 overloads)">async_resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload5.html" title="ip::basic_resolver::async_resolve (5 of 6 overloads)">more...</a></em></span>
</pre>
<p>
Asynchronously perform reverse resolution of an endpoint to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> <a class="link" href="async_resolve/overload6.html" title="ip::basic_resolver::async_resolve (6 of 6 overloads)">async_resolve</a>(
const endpoint_type &amp; e,
ResolveHandler &amp;&amp; handler = <a class="link" href="../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
<span class="emphasis"><em>» <a class="link" href="async_resolve/overload6.html" title="ip::basic_resolver::async_resolve (6 of 6 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="all_matching.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="async_resolve/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,88 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (1 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="next" href="overload2.html" title="ip::basic_resolver::async_resolve (2 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../async_resolve.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload1"></a><a class="link" href="overload1.html" title="ip::basic_resolver::async_resolve (1 of 6 overloads)">ip::basic_resolver::async_resolve
(1 of 6 overloads)</a>
</h5></div></div></div>
<p>
(Deprecated: Use overload with separate host and service parameters.)
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
const query &amp; q,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to asynchronously resolve a query into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload1.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload1.parameters"></a></span><a class="link" href="overload1.html#asio.reference.ip__basic_resolver.async_resolve.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">q</span></dt>
<dd><p>
A query object that determines what endpoints will be returned.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../async_resolve.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,116 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (2 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="overload1.html" title="ip::basic_resolver::async_resolve (1 of 6 overloads)">
<link rel="next" href="overload3.html" title="ip::basic_resolver::async_resolve (3 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload2"></a><a class="link" href="overload2.html" title="ip::basic_resolver::async_resolve (2 of 6 overloads)">ip::basic_resolver::async_resolve
(2 of 6 overloads)</a>
</h5></div></div></div>
<p>
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
string_view host,
string_view service,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload2.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload2.parameters"></a></span><a class="link" href="overload2.html#asio.reference.ip__basic_resolver.async_resolve.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload2.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload2.remarks"></a></span><a class="link" href="overload2.html#asio.reference.ip__basic_resolver.async_resolve.overload2.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,124 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (3 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="overload2.html" title="ip::basic_resolver::async_resolve (2 of 6 overloads)">
<link rel="next" href="overload4.html" title="ip::basic_resolver::async_resolve (4 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload3"></a><a class="link" href="overload3.html" title="ip::basic_resolver::async_resolve (3 of 6 overloads)">ip::basic_resolver::async_resolve
(3 of 6 overloads)</a>
</h5></div></div></div>
<p>
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
string_view host,
string_view service,
resolver_base::flags resolve_flags,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload3.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload3.parameters"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.async_resolve.overload3.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload3.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload3.remarks"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.async_resolve.overload3.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,122 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (4 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="overload3.html" title="ip::basic_resolver::async_resolve (3 of 6 overloads)">
<link rel="next" href="overload5.html" title="ip::basic_resolver::async_resolve (5 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload4"></a><a class="link" href="overload4.html" title="ip::basic_resolver::async_resolve (4 of 6 overloads)">ip::basic_resolver::async_resolve
(4 of 6 overloads)</a>
</h5></div></div></div>
<p>
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload4.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload4.parameters"></a></span><a class="link" href="overload4.html#asio.reference.ip__basic_resolver.async_resolve.overload4.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload4.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload4.remarks"></a></span><a class="link" href="overload4.html#asio.reference.ip__basic_resolver.async_resolve.overload4.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,130 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (5 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="overload4.html" title="ip::basic_resolver::async_resolve (4 of 6 overloads)">
<link rel="next" href="overload6.html" title="ip::basic_resolver::async_resolve (6 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload4.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload5"></a><a class="link" href="overload5.html" title="ip::basic_resolver::async_resolve (5 of 6 overloads)">ip::basic_resolver::async_resolve
(5 of 6 overloads)</a>
</h5></div></div></div>
<p>
Asynchronously perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload5.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload5.parameters"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.async_resolve.overload5.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload5.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload5.remarks"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.async_resolve.overload5.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload4.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,88 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::async_resolve (6 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../async_resolve.html" title="ip::basic_resolver::async_resolve">
<link rel="prev" href="overload5.html" title="ip::basic_resolver::async_resolve (5 of 6 overloads)">
<link rel="next" href="../basic_resolver.html" title="ip::basic_resolver::basic_resolver">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload5.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../basic_resolver.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.async_resolve.overload6"></a><a class="link" href="overload6.html" title="ip::basic_resolver::async_resolve (6 of 6 overloads)">ip::basic_resolver::async_resolve
(6 of 6 overloads)</a>
</h5></div></div></div>
<p>
Asynchronously perform reverse resolution of an endpoint to a list of
entries.
</p>
<pre class="programlisting">template&lt;
typename <a class="link" href="../../ResolveHandler.html" title="Resolve handler requirements">ResolveHandler</a> = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>&gt;
<a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type"><span class="emphasis"><em>DEDUCED</em></span></a> async_resolve(
const endpoint_type &amp; e,
ResolveHandler &amp;&amp; handler = <a class="link" href="../../asynchronous_operations.html#asio.reference.asynchronous_operations.default_completion_tokens"><span class="emphasis"><em>DEFAULT</em></span></a>);
</pre>
<p>
This function is used to asynchronously resolve an endpoint into a list
of endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.async_resolve.overload6.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.async_resolve.overload6.parameters"></a></span><a class="link" href="overload6.html#asio.reference.ip__basic_resolver.async_resolve.overload6.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">e</span></dt>
<dd><p>
An endpoint object that determines what endpoints will be returned.
</p></dd>
<dt><span class="term">handler</span></dt>
<dd>
<p>
The handler to be called when the resolve operation completes.
Copies will be made of the handler as required. The function signature
of the handler must be:
</p>
<pre class="programlisting">void handler(
const asio::error_code&amp; error, // Result of operation.
resolver::results_type results // Resolved endpoints as a range.
);
</pre>
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
On immediate completion, invocation of the handler will be performed
in a manner equivalent to using <a class="link" href="../../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
</div>
<p>
A successful resolve operation is guaranteed to pass a non-empty range
to the handler.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload5.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../async_resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../basic_resolver.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,64 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::basic_resolver</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="async_resolve/overload6.html" title="ip::basic_resolver::async_resolve (6 of 6 overloads)">
<link rel="next" href="basic_resolver/overload1.html" title="ip::basic_resolver::basic_resolver (1 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="async_resolve/overload6.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="basic_resolver/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.basic_resolver"></a><a class="link" href="basic_resolver.html" title="ip::basic_resolver::basic_resolver">ip::basic_resolver::basic_resolver</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.basic_resolver"></a>
Construct
with executor.
</p>
<pre class="programlisting">explicit <a class="link" href="basic_resolver/overload1.html" title="ip::basic_resolver::basic_resolver (1 of 3 overloads)">basic_resolver</a>(
const executor_type &amp; ex);
<span class="emphasis"><em>» <a class="link" href="basic_resolver/overload1.html" title="ip::basic_resolver::basic_resolver (1 of 3 overloads)">more...</a></em></span>
</pre>
<p>
Construct with execution context.
</p>
<pre class="programlisting">template&lt;
typename ExecutionContext&gt;
explicit <a class="link" href="basic_resolver/overload2.html" title="ip::basic_resolver::basic_resolver (2 of 3 overloads)">basic_resolver</a>(
ExecutionContext &amp; context,
typename enable_if&lt; is_convertible&lt; ExecutionContext &amp;, execution_context &amp; &gt;::value &gt;::type * = 0);
<span class="emphasis"><em>» <a class="link" href="basic_resolver/overload2.html" title="ip::basic_resolver::basic_resolver (2 of 3 overloads)">more...</a></em></span>
</pre>
<p>
Move-construct a <a class="link" href="../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>
from another.
</p>
<pre class="programlisting"><a class="link" href="basic_resolver/overload3.html" title="ip::basic_resolver::basic_resolver (3 of 3 overloads)">basic_resolver</a>(
basic_resolver &amp;&amp; other);
<span class="emphasis"><em>» <a class="link" href="basic_resolver/overload3.html" title="ip::basic_resolver::basic_resolver (3 of 3 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="async_resolve/overload6.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="basic_resolver/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,61 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::basic_resolver (1 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../basic_resolver.html" title="ip::basic_resolver::basic_resolver">
<link rel="prev" href="../basic_resolver.html" title="ip::basic_resolver::basic_resolver">
<link rel="next" href="overload2.html" title="ip::basic_resolver::basic_resolver (2 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../basic_resolver.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload1"></a><a class="link" href="overload1.html" title="ip::basic_resolver::basic_resolver (1 of 3 overloads)">ip::basic_resolver::basic_resolver
(1 of 3 overloads)</a>
</h5></div></div></div>
<p>
Construct with executor.
</p>
<pre class="programlisting">basic_resolver(
const executor_type &amp; ex);
</pre>
<p>
This constructor creates a <a class="link" href="../../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload1.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.basic_resolver.overload1.parameters"></a></span><a class="link" href="overload1.html#asio.reference.ip__basic_resolver.basic_resolver.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">ex</span></dt>
<dd><p>
The I/O executor that the resolver will use, by default, to dispatch
handlers for any asynchronous operations performed on the resolver.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../basic_resolver.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,65 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::basic_resolver (2 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../basic_resolver.html" title="ip::basic_resolver::basic_resolver">
<link rel="prev" href="overload1.html" title="ip::basic_resolver::basic_resolver (1 of 3 overloads)">
<link rel="next" href="overload3.html" title="ip::basic_resolver::basic_resolver (3 of 3 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload2"></a><a class="link" href="overload2.html" title="ip::basic_resolver::basic_resolver (2 of 3 overloads)">ip::basic_resolver::basic_resolver
(2 of 3 overloads)</a>
</h5></div></div></div>
<p>
Construct with execution context.
</p>
<pre class="programlisting">template&lt;
typename ExecutionContext&gt;
basic_resolver(
ExecutionContext &amp; context,
typename enable_if&lt; is_convertible&lt; ExecutionContext &amp;, execution_context &amp; &gt;::value &gt;::type * = 0);
</pre>
<p>
This constructor creates a <a class="link" href="../../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload2.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.basic_resolver.overload2.parameters"></a></span><a class="link" href="overload2.html#asio.reference.ip__basic_resolver.basic_resolver.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">context</span></dt>
<dd><p>
An execution context which provides the I/O executor that the resolver
will use, by default, to dispatch handlers for any asynchronous
operations performed on the resolver.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,71 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::basic_resolver (3 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../basic_resolver.html" title="ip::basic_resolver::basic_resolver">
<link rel="prev" href="overload2.html" title="ip::basic_resolver::basic_resolver (2 of 3 overloads)">
<link rel="next" href="../cancel.html" title="ip::basic_resolver::cancel">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../cancel.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload3"></a><a class="link" href="overload3.html" title="ip::basic_resolver::basic_resolver (3 of 3 overloads)">ip::basic_resolver::basic_resolver
(3 of 3 overloads)</a>
</h5></div></div></div>
<p>
Move-construct a <a class="link" href="../../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>
from another.
</p>
<pre class="programlisting">basic_resolver(
basic_resolver &amp;&amp; other);
</pre>
<p>
This constructor moves a resolver from one object to another.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload3.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.basic_resolver.overload3.parameters"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.basic_resolver.overload3.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">other</span></dt>
<dd><p>
The other <a class="link" href="../../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>
object from which the move will occur.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.basic_resolver.overload3.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.basic_resolver.overload3.remarks"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.basic_resolver.overload3.remarks">Remarks</a>
</h6>
<p>
Following the move, the moved-from object is in the same state as if
constructed using the <code class="computeroutput">basic_resolver(const executor_type&amp;)
constructor</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_resolver.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../cancel.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::cancel</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="basic_resolver/overload3.html" title="ip::basic_resolver::basic_resolver (3 of 3 overloads)">
<link rel="next" href="canonical_name.html" title="ip::basic_resolver::canonical_name">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="basic_resolver/overload3.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="canonical_name.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.cancel"></a><a class="link" href="cancel.html" title="ip::basic_resolver::cancel">ip::basic_resolver::cancel</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.cancel"></a>
Cancel
any asynchronous operations that are waiting on the resolver.
</p>
<pre class="programlisting">void cancel();
</pre>
<p>
This function forces the completion of any pending asynchronous operations
on the host resolver. The handler for each cancelled operation will be
invoked with the <code class="computeroutput">asio::error::operation_aborted</code> error code.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="basic_resolver/overload3.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="canonical_name.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,47 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::canonical_name</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="cancel.html" title="ip::basic_resolver::cancel">
<link rel="next" href="endpoint_type.html" title="ip::basic_resolver::endpoint_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="cancel.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="endpoint_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.canonical_name"></a><a class="link" href="canonical_name.html" title="ip::basic_resolver::canonical_name">ip::basic_resolver::canonical_name</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.canonical_name"></a>
Determine
the canonical name of the host specified in the query.
</p>
<pre class="programlisting">static const flags canonical_name = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="cancel.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="endpoint_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,54 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::endpoint_type</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="canonical_name.html" title="ip::basic_resolver::canonical_name">
<link rel="next" href="executor_type.html" title="ip::basic_resolver::executor_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="canonical_name.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="executor_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.endpoint_type"></a><a class="link" href="endpoint_type.html" title="ip::basic_resolver::endpoint_type">ip::basic_resolver::endpoint_type</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.endpoint_type"></a>
The
endpoint type.
</p>
<pre class="programlisting">typedef InternetProtocol::endpoint endpoint_type;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.endpoint_type.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.endpoint_type.requirements"></a></span><a class="link" href="endpoint_type.html#asio.reference.ip__basic_resolver.endpoint_type.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="canonical_name.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="executor_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,54 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::executor_type</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="endpoint_type.html" title="ip::basic_resolver::endpoint_type">
<link rel="next" href="flags.html" title="ip::basic_resolver::flags">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="endpoint_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="flags.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.executor_type"></a><a class="link" href="executor_type.html" title="ip::basic_resolver::executor_type">ip::basic_resolver::executor_type</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.executor_type"></a>
The
type of the executor associated with the object.
</p>
<pre class="programlisting">typedef Executor executor_type;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.executor_type.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.executor_type.requirements"></a></span><a class="link" href="executor_type.html#asio.reference.ip__basic_resolver.executor_type.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="endpoint_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="flags.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,57 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::flags</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="executor_type.html" title="ip::basic_resolver::executor_type">
<link rel="next" href="get_executor.html" title="ip::basic_resolver::get_executor">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="executor_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="get_executor.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.flags"></a><a class="link" href="flags.html" title="ip::basic_resolver::flags">ip::basic_resolver::flags</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.flags"></a>
A bitmask
type (C++ Std [lib.bitmask.types]).
</p>
<pre class="programlisting">typedef unspecified flags;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.flags.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.flags.requirements"></a></span><a class="link" href="flags.html#asio.reference.ip__basic_resolver.flags.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="executor_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="get_executor.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::get_executor</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="flags.html" title="ip::basic_resolver::flags">
<link rel="next" href="iterator.html" title="ip::basic_resolver::iterator">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="flags.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="iterator.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.get_executor"></a><a class="link" href="get_executor.html" title="ip::basic_resolver::get_executor">ip::basic_resolver::get_executor</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.get_executor"></a>
Get
the executor associated with the object.
</p>
<pre class="programlisting">executor_type get_executor();
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="flags.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="iterator.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,390 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::iterator</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="get_executor.html" title="ip::basic_resolver::get_executor">
<link rel="next" href="numeric_host.html" title="ip::basic_resolver::numeric_host">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="get_executor.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="numeric_host.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.iterator"></a><a class="link" href="iterator.html" title="ip::basic_resolver::iterator">ip::basic_resolver::iterator</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.iterator"></a>
(Deprecated.)
The iterator type.
</p>
<pre class="programlisting">typedef basic_resolver_iterator&lt; InternetProtocol &gt; iterator;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.types"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.types">Types</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/difference_type.html" title="ip::basic_resolver_iterator::difference_type"><span class="bold"><strong>difference_type</strong></span></a>
</p>
</td>
<td>
<p>
The type used for the distance between two iterators.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/iterator_category.html" title="ip::basic_resolver_iterator::iterator_category"><span class="bold"><strong>iterator_category</strong></span></a>
</p>
</td>
<td>
<p>
The iterator category.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/pointer.html" title="ip::basic_resolver_iterator::pointer"><span class="bold"><strong>pointer</strong></span></a>
</p>
</td>
<td>
<p>
The type of the result of applying operator-&gt;() to the iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/reference.html" title="ip::basic_resolver_iterator::reference"><span class="bold"><strong>reference</strong></span></a>
</p>
</td>
<td>
<p>
The type of the result of applying operator*() to the iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/value_type.html" title="ip::basic_resolver_iterator::value_type"><span class="bold"><strong>value_type</strong></span></a>
</p>
</td>
<td>
<p>
The type of the value pointed to by the iterator.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.member_functions"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.member_functions">Member
Functions</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/basic_resolver_iterator.html" title="ip::basic_resolver_iterator::basic_resolver_iterator"><span class="bold"><strong>basic_resolver_iterator</strong></span></a> <span class="silver">[constructor]</span>
</p>
</td>
<td>
<p>
Default constructor creates an end iterator. <br> <span class="silver"> —</span><br> Copy
constructor. <br> <span class="silver"> —</span><br> Move constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator__star_.html" title="ip::basic_resolver_iterator::operator *"><span class="bold"><strong>operator *</strong></span></a>
</p>
</td>
<td>
<p>
Dereference an iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator_plus__plus_.html" title="ip::basic_resolver_iterator::operator++"><span class="bold"><strong>operator++</strong></span></a>
</p>
</td>
<td>
<p>
Increment operator (prefix). <br> <span class="silver"> —</span><br> Increment operator
(postfix).
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator_arrow_.html" title="ip::basic_resolver_iterator::operator-&gt;"><span class="bold"><strong>operator-&gt;</strong></span></a>
</p>
</td>
<td>
<p>
Dereference an iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator_eq_.html" title="ip::basic_resolver_iterator::operator="><span class="bold"><strong>operator=</strong></span></a>
</p>
</td>
<td>
<p>
Assignment operator. <br> <span class="silver"> —</span><br> Move-assignment operator.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.protected_member_functions"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.protected_member_functions">Protected
Member Functions</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/dereference.html" title="ip::basic_resolver_iterator::dereference"><span class="bold"><strong>dereference</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/equal.html" title="ip::basic_resolver_iterator::equal"><span class="bold"><strong>equal</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/increment.html" title="ip::basic_resolver_iterator::increment"><span class="bold"><strong>increment</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.protected_data_members"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.protected_data_members">Protected
Data Members</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/index_.html" title="ip::basic_resolver_iterator::index_"><span class="bold"><strong>index_</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/values_.html" title="ip::basic_resolver_iterator::values_"><span class="bold"><strong>values_</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h4"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.friends"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.friends">Friends</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator_not__eq_.html" title="ip::basic_resolver_iterator::operator!="><span class="bold"><strong>operator!=</strong></span></a>
</p>
</td>
<td>
<p>
Test two iterators for inequality.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_iterator/operator_eq__eq_.html" title="ip::basic_resolver_iterator::operator=="><span class="bold"><strong>operator==</strong></span></a>
</p>
</td>
<td>
<p>
Test two iterators for equality.
</p>
</td>
</tr>
</tbody>
</table></div>
<p>
The <a class="link" href="../ip__basic_resolver_iterator.html" title="ip::basic_resolver_iterator"><code class="computeroutput">ip::basic_resolver_iterator</code></a>
class template is used to define iterators over the results returned by
a resolver.
</p>
<p>
The iterator's value_type, obtained when the iterator is dereferenced,
is:
</p>
<pre class="programlisting">const basic_resolver_entry&lt;InternetProtocol&gt;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h5"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.thread_safety"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.thread_safety">Thread
Safety</a>
</h6>
<p>
<span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
</p>
<p>
<span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.iterator.h6"></a>
<span><a name="asio.reference.ip__basic_resolver.iterator.requirements"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_resolver.iterator.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="get_executor.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="numeric_host.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,48 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::numeric_host</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="iterator.html" title="ip::basic_resolver::iterator">
<link rel="next" href="numeric_service.html" title="ip::basic_resolver::numeric_service">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="iterator.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="numeric_service.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.numeric_host"></a><a class="link" href="numeric_host.html" title="ip::basic_resolver::numeric_host">ip::basic_resolver::numeric_host</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.numeric_host"></a>
Host
name should be treated as a numeric string defining an IPv4 or IPv6 address
and no name resolution should be attempted.
</p>
<pre class="programlisting">static const flags numeric_host = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="iterator.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="numeric_service.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,48 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::numeric_service</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="numeric_host.html" title="ip::basic_resolver::numeric_host">
<link rel="next" href="operator_eq_.html" title="ip::basic_resolver::operator=">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="numeric_host.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.numeric_service"></a><a class="link" href="numeric_service.html" title="ip::basic_resolver::numeric_service">ip::basic_resolver::numeric_service</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.numeric_service"></a>
Service
name should be treated as a numeric string defining a port number and no
name resolution should be attempted.
</p>
<pre class="programlisting">static const flags numeric_service = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="numeric_host.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,72 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::operator=</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="numeric_service.html" title="ip::basic_resolver::numeric_service">
<link rel="next" href="passive.html" title="ip::basic_resolver::passive">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="numeric_service.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="passive.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.operator_eq_"></a><a class="link" href="operator_eq_.html" title="ip::basic_resolver::operator=">ip::basic_resolver::operator=</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.operator_eq_"></a>
Move-assign
a <a class="link" href="../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>
from another.
</p>
<pre class="programlisting">basic_resolver &amp; operator=(
basic_resolver &amp;&amp; other);
</pre>
<p>
This assignment operator moves a resolver from one object to another. Cancels
any outstanding asynchronous operations associated with the target object.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.operator_eq_.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.operator_eq_.parameters"></a></span><a class="link" href="operator_eq_.html#asio.reference.ip__basic_resolver.operator_eq_.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">other</span></dt>
<dd><p>
The other <a class="link" href="../ip__basic_resolver.html" title="ip::basic_resolver"><code class="computeroutput">ip::basic_resolver</code></a>
object from which the move will occur.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.operator_eq_.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.operator_eq_.remarks"></a></span><a class="link" href="operator_eq_.html#asio.reference.ip__basic_resolver.operator_eq_.remarks">Remarks</a>
</h6>
<p>
Following the move, the moved-from object is in the same state as if constructed
using the <code class="computeroutput">basic_resolver(const executor_type&amp;) constructor</code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="numeric_service.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="passive.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,47 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::passive</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="operator_eq_.html" title="ip::basic_resolver::operator=">
<link rel="next" href="protocol_type.html" title="ip::basic_resolver::protocol_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="protocol_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.passive"></a><a class="link" href="passive.html" title="ip::basic_resolver::passive">ip::basic_resolver::passive</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.passive"></a>
Indicate
that returned endpoint is intended for use as a locally bound socket endpoint.
</p>
<pre class="programlisting">static const flags passive = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="protocol_type.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,54 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::protocol_type</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="passive.html" title="ip::basic_resolver::passive">
<link rel="next" href="query.html" title="ip::basic_resolver::query">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="passive.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="query.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.protocol_type"></a><a class="link" href="protocol_type.html" title="ip::basic_resolver::protocol_type">ip::basic_resolver::protocol_type</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.protocol_type"></a>
The
protocol type.
</p>
<pre class="programlisting">typedef InternetProtocol protocol_type;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.protocol_type.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.protocol_type.requirements"></a></span><a class="link" href="protocol_type.html#asio.reference.ip__basic_resolver.protocol_type.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="passive.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="query.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,308 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::query</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="protocol_type.html" title="ip::basic_resolver::protocol_type">
<link rel="next" href="resolve.html" title="ip::basic_resolver::resolve">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="resolve.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.query"></a><a class="link" href="query.html" title="ip::basic_resolver::query">ip::basic_resolver::query</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.query"></a>
(Deprecated.)
The query type.
</p>
<pre class="programlisting">typedef basic_resolver_query&lt; InternetProtocol &gt; query;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.query.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.query.types"></a></span><a class="link" href="query.html#asio.reference.ip__basic_resolver.query.types">Types</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/flags.html" title="ip::basic_resolver_query::flags"><span class="bold"><strong>flags</strong></span></a>
</p>
</td>
<td>
<p>
A bitmask type (C++ Std [lib.bitmask.types]).
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/protocol_type.html" title="ip::basic_resolver_query::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
</p>
</td>
<td>
<p>
The protocol type associated with the endpoint query.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.query.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.query.member_functions"></a></span><a class="link" href="query.html#asio.reference.ip__basic_resolver.query.member_functions">Member
Functions</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/basic_resolver_query.html" title="ip::basic_resolver_query::basic_resolver_query"><span class="bold"><strong>basic_resolver_query</strong></span></a> <span class="silver">[constructor]</span>
</p>
</td>
<td>
<p>
Construct with specified service name for any protocol. <br>
<span class="silver"> —</span><br> Construct with specified service name for a given protocol.
<br> <span class="silver"> —</span><br> Construct with specified host name and service
name for any protocol. <br> <span class="silver"> —</span><br> Construct with specified
host name and service name for a given protocol.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/hints.html" title="ip::basic_resolver_query::hints"><span class="bold"><strong>hints</strong></span></a>
</p>
</td>
<td>
<p>
Get the hints associated with the query.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/host_name.html" title="ip::basic_resolver_query::host_name"><span class="bold"><strong>host_name</strong></span></a>
</p>
</td>
<td>
<p>
Get the host name associated with the query.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/service_name.html" title="ip::basic_resolver_query::service_name"><span class="bold"><strong>service_name</strong></span></a>
</p>
</td>
<td>
<p>
Get the service name associated with the query.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.query.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.query.data_members"></a></span><a class="link" href="query.html#asio.reference.ip__basic_resolver.query.data_members">Data Members</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/address_configured.html" title="ip::basic_resolver_query::address_configured"><span class="bold"><strong>address_configured</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
Only return IPv4 addresses if a non-loopback IPv4 address is
configured for the system. Only return IPv6 addresses if a non-loopback
IPv6 address is configured for the system.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/all_matching.html" title="ip::basic_resolver_query::all_matching"><span class="bold"><strong>all_matching</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
If used with v4_mapped, return all matching IPv6 and IPv4 addresses.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/canonical_name.html" title="ip::basic_resolver_query::canonical_name"><span class="bold"><strong>canonical_name</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
Determine the canonical name of the host specified in the query.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/numeric_host.html" title="ip::basic_resolver_query::numeric_host"><span class="bold"><strong>numeric_host</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
Host name should be treated as a numeric string defining an IPv4
or IPv6 address and no name resolution should be attempted.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/numeric_service.html" title="ip::basic_resolver_query::numeric_service"><span class="bold"><strong>numeric_service</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
Service name should be treated as a numeric string defining a
port number and no name resolution should be attempted.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/passive.html" title="ip::basic_resolver_query::passive"><span class="bold"><strong>passive</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
Indicate that returned endpoint is intended for use as a locally
bound socket endpoint.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_query/v4_mapped.html" title="ip::basic_resolver_query::v4_mapped"><span class="bold"><strong>v4_mapped</strong></span></a> <span class="silver">[static]</span>
</p>
</td>
<td>
<p>
If the query protocol family is specified as IPv6, return IPv4-mapped
IPv6 addresses on finding no IPv6 addresses.
</p>
</td>
</tr>
</tbody>
</table></div>
<p>
The <a class="link" href="../ip__basic_resolver_query.html" title="ip::basic_resolver_query"><code class="computeroutput">ip::basic_resolver_query</code></a>
class template describes a query that can be passed to a resolver.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.query.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.query.thread_safety"></a></span><a class="link" href="query.html#asio.reference.ip__basic_resolver.query.thread_safety">Thread
Safety</a>
</h6>
<p>
<span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
</p>
<p>
<span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.query.h4"></a>
<span><a name="asio.reference.ip__basic_resolver.query.requirements"></a></span><a class="link" href="query.html#asio.reference.ip__basic_resolver.query.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="resolve.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,119 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="query.html" title="ip::basic_resolver::query">
<link rel="next" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="resolve/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.resolve"></a><a class="link" href="resolve.html" title="ip::basic_resolver::resolve">ip::basic_resolver::resolve</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.resolve"></a>
(Deprecated:
Use overload with separate host and service parameters.) Perform forward
resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type <a class="link" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">resolve</a>(
const query &amp; q);
<span class="emphasis"><em>» <a class="link" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">resolve</a>(
const query &amp; q,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">more...</a></em></span>
</pre>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type <a class="link" href="resolve/overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">resolve</a>(
string_view host,
string_view service);
<span class="emphasis"><em>» <a class="link" href="resolve/overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">resolve</a>(
string_view host,
string_view service,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">resolve</a>(
string_view host,
string_view service,
resolver_base::flags resolve_flags);
<span class="emphasis"><em>» <a class="link" href="resolve/overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">resolve</a>(
string_view host,
string_view service,
resolver_base::flags resolve_flags,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service);
<span class="emphasis"><em>» <a class="link" href="resolve/overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags);
<span class="emphasis"><em>» <a class="link" href="resolve/overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">resolve</a>(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">more...</a></em></span>
</pre>
<p>
Perform reverse resolution of an endpoint to a list of entries.
</p>
<pre class="programlisting">results_type <a class="link" href="resolve/overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">resolve</a>(
const endpoint_type &amp; e);
<span class="emphasis"><em>» <a class="link" href="resolve/overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">more...</a></em></span>
results_type <a class="link" href="resolve/overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">resolve</a>(
const endpoint_type &amp; e,
asio::error_code &amp; ec);
<span class="emphasis"><em>» <a class="link" href="resolve/overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="query.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="resolve/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,83 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (1 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="next" href="overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../resolve.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload1"></a><a class="link" href="overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">ip::basic_resolver::resolve
(1 of 12 overloads)</a>
</h5></div></div></div>
<p>
(Deprecated: Use overload with separate host and service parameters.)
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const query &amp; q);
</pre>
<p>
This function is used to resolve a query into a list of endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload1.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload1.parameters"></a></span><a class="link" href="overload1.html#asio.reference.ip__basic_resolver.resolve.overload1.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">q</span></dt>
<dd><p>
A query object that determines what endpoints will be returned.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload1.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload1.return_value"></a></span><a class="link" href="overload1.html#asio.reference.ip__basic_resolver.resolve.overload1.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload1.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload1.exceptions"></a></span><a class="link" href="overload1.html#asio.reference.ip__basic_resolver.resolve.overload1.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../resolve.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,119 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (10 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">
<link rel="next" href="overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload9.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload11.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload10"></a><a class="link" href="overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">ip::basic_resolver::resolve
(10 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload10.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload10.parameters"></a></span><a class="link" href="overload10.html#asio.reference.ip__basic_resolver.resolve.overload10.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload10.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload10.return_value"></a></span><a class="link" href="overload10.html#asio.reference.ip__basic_resolver.resolve.overload10.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload10.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload10.remarks"></a></span><a class="link" href="overload10.html#asio.reference.ip__basic_resolver.resolve.overload10.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload9.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload11.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,83 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (11 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">
<link rel="next" href="overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload10.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload12.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload11"></a><a class="link" href="overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">ip::basic_resolver::resolve
(11 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform reverse resolution of an endpoint to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const endpoint_type &amp; e);
</pre>
<p>
This function is used to resolve an endpoint into a list of endpoint
entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload11.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload11.parameters"></a></span><a class="link" href="overload11.html#asio.reference.ip__basic_resolver.resolve.overload11.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">e</span></dt>
<dd><p>
An endpoint object that determines what endpoints will be returned.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload11.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload11.return_value"></a></span><a class="link" href="overload11.html#asio.reference.ip__basic_resolver.resolve.overload11.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload11.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload11.exceptions"></a></span><a class="link" href="overload11.html#asio.reference.ip__basic_resolver.resolve.overload11.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload10.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload12.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,76 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (12 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">
<link rel="next" href="../results_type.html" title="ip::basic_resolver::results_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload11.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../results_type.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload12"></a><a class="link" href="overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">ip::basic_resolver::resolve
(12 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform reverse resolution of an endpoint to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const endpoint_type &amp; e,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve an endpoint into a list of endpoint
entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload12.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload12.parameters"></a></span><a class="link" href="overload12.html#asio.reference.ip__basic_resolver.resolve.overload12.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">e</span></dt>
<dd><p>
An endpoint object that determines what endpoints will be returned.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload12.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload12.return_value"></a></span><a class="link" href="overload12.html#asio.reference.ip__basic_resolver.resolve.overload12.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload11.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../results_type.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,76 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (2 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">
<link rel="next" href="overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload2"></a><a class="link" href="overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">ip::basic_resolver::resolve
(2 of 12 overloads)</a>
</h5></div></div></div>
<p>
(Deprecated: Use overload with separate host and service parameters.)
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const query &amp; q,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve a query into a list of endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload2.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload2.parameters"></a></span><a class="link" href="overload2.html#asio.reference.ip__basic_resolver.resolve.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">q</span></dt>
<dd><p>
A query object that determines what endpoints will be returned.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload2.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload2.return_value"></a></span><a class="link" href="overload2.html#asio.reference.ip__basic_resolver.resolve.overload2.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,112 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (3 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">
<link rel="next" href="overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload3"></a><a class="link" href="overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">ip::basic_resolver::resolve
(3 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
string_view host,
string_view service);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload3.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload3.parameters"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.resolve.overload3.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload3.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload3.return_value"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.resolve.overload3.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload3.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload3.exceptions"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.resolve.overload3.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload3.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload3.remarks"></a></span><a class="link" href="overload3.html#asio.reference.ip__basic_resolver.resolve.overload3.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,105 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (4 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">
<link rel="next" href="overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload4"></a><a class="link" href="overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">ip::basic_resolver::resolve
(4 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
string_view host,
string_view service,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload4.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload4.parameters"></a></span><a class="link" href="overload4.html#asio.reference.ip__basic_resolver.resolve.overload4.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload4.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload4.return_value"></a></span><a class="link" href="overload4.html#asio.reference.ip__basic_resolver.resolve.overload4.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload4.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload4.remarks"></a></span><a class="link" href="overload4.html#asio.reference.ip__basic_resolver.resolve.overload4.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,120 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (5 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">
<link rel="next" href="overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload4.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload5"></a><a class="link" href="overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">ip::basic_resolver::resolve
(5 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
string_view host,
string_view service,
resolver_base::flags resolve_flags);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload5.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload5.parameters"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.resolve.overload5.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload5.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload5.return_value"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.resolve.overload5.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload5.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload5.exceptions"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.resolve.overload5.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload5.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload5.remarks"></a></span><a class="link" href="overload5.html#asio.reference.ip__basic_resolver.resolve.overload5.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload4.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,113 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (6 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">
<link rel="next" href="overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload5.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload7.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload6"></a><a class="link" href="overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">ip::basic_resolver::resolve
(6 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
string_view host,
string_view service,
resolver_base::flags resolve_flags,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload6.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload6.parameters"></a></span><a class="link" href="overload6.html#asio.reference.ip__basic_resolver.resolve.overload6.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload6.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload6.return_value"></a></span><a class="link" href="overload6.html#asio.reference.ip__basic_resolver.resolve.overload6.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload6.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload6.remarks"></a></span><a class="link" href="overload6.html#asio.reference.ip__basic_resolver.resolve.overload6.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload5.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload7.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,118 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (7 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">
<link rel="next" href="overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload6.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload8.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload7"></a><a class="link" href="overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">ip::basic_resolver::resolve
(7 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload7.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload7.parameters"></a></span><a class="link" href="overload7.html#asio.reference.ip__basic_resolver.resolve.overload7.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload7.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload7.return_value"></a></span><a class="link" href="overload7.html#asio.reference.ip__basic_resolver.resolve.overload7.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload7.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload7.exceptions"></a></span><a class="link" href="overload7.html#asio.reference.ip__basic_resolver.resolve.overload7.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload7.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload7.remarks"></a></span><a class="link" href="overload7.html#asio.reference.ip__basic_resolver.resolve.overload7.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload6.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload8.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,111 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (8 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">
<link rel="next" href="overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload7.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload9.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload8"></a><a class="link" href="overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">ip::basic_resolver::resolve
(8 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service,
asio::error_code &amp; ec);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload8.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload8.parameters"></a></span><a class="link" href="overload8.html#asio.reference.ip__basic_resolver.resolve.overload8.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">ec</span></dt>
<dd><p>
Set to indicate what error occurred, if any.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload8.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload8.return_value"></a></span><a class="link" href="overload8.html#asio.reference.ip__basic_resolver.resolve.overload8.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. An empty range
is returned if an error occurs. A successful call to this function is
guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload8.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload8.remarks"></a></span><a class="link" href="overload8.html#asio.reference.ip__basic_resolver.resolve.overload8.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload7.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload9.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,126 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::resolve (9 of 12 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../resolve.html" title="ip::basic_resolver::resolve">
<link rel="prev" href="overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">
<link rel="next" href="overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload8.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload10.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.ip__basic_resolver.resolve.overload9"></a><a class="link" href="overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">ip::basic_resolver::resolve
(9 of 12 overloads)</a>
</h5></div></div></div>
<p>
Perform forward resolution of a query to a list of entries.
</p>
<pre class="programlisting">results_type resolve(
const protocol_type &amp; protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags);
</pre>
<p>
This function is used to resolve host and service names into a list of
endpoint entries.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload9.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload9.parameters"></a></span><a class="link" href="overload9.html#asio.reference.ip__basic_resolver.resolve.overload9.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">protocol</span></dt>
<dd><p>
A protocol object, normally representing either the IPv4 or IPv6
version of an internet protocol.
</p></dd>
<dt><span class="term">host</span></dt>
<dd><p>
A string identifying a location. May be a descriptive name or a
numeric address string. If an empty string and the passive flag
has been specified, the resolved endpoints are suitable for local
service binding. If an empty string and passive is not specified,
the resolved endpoints will use the loopback address.
</p></dd>
<dt><span class="term">service</span></dt>
<dd><p>
A string identifying the requested service. This may be a descriptive
name or a numeric string corresponding to a port number. May be
an empty string, in which case all resolved endpoints will have
a port number of 0.
</p></dd>
<dt><span class="term">resolve_flags</span></dt>
<dd><p>
A set of flags that determine how name resolution should be performed.
The default flags are suitable for communication with remote hosts.
See the <a class="link" href="../../ip__resolver_base.html" title="ip::resolver_base"><code class="computeroutput">ip::resolver_base</code></a>
documentation for the set of available flags.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload9.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload9.return_value"></a></span><a class="link" href="overload9.html#asio.reference.ip__basic_resolver.resolve.overload9.return_value">Return
Value</a>
</h6>
<p>
A range object representing the list of endpoint entries. A successful
call to this function is guaranteed to return a non-empty range.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload9.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload9.exceptions"></a></span><a class="link" href="overload9.html#asio.reference.ip__basic_resolver.resolve.overload9.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl>
<dt><span class="term">asio::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
<h6>
<a name="asio.reference.ip__basic_resolver.resolve.overload9.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.resolve.overload9.remarks"></a></span><a class="link" href="overload9.html#asio.reference.ip__basic_resolver.resolve.overload9.remarks">Remarks</a>
</h6>
<p>
On POSIX systems, host names may be locally defined in the file <code class="computeroutput">/etc/hosts</code>.
On Windows, host names may be defined in the file <code class="computeroutput">c:\windows\system32\drivers\etc\hosts</code>.
Remote host name resolution is performed using DNS. Operating systems
may use additional locations when resolving host names (such as NETBIOS
names on Windows).
</p>
<p>
On POSIX systems, service names are typically defined in the file <code class="computeroutput">/etc/services</code>.
On Windows, service names may be found in the file <code class="computeroutput">c:\windows\system32\drivers\etc\services</code>.
Operating systems may use additional locations when resolving service
names.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload8.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../resolve.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload10.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,568 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::results_type</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="resolve/overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">
<link rel="next" href="v4_mapped.html" title="ip::basic_resolver::v4_mapped">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="resolve/overload12.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="v4_mapped.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.results_type"></a><a class="link" href="results_type.html" title="ip::basic_resolver::results_type">ip::basic_resolver::results_type</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.results_type"></a>
The
results type.
</p>
<pre class="programlisting">typedef basic_resolver_results&lt; InternetProtocol &gt; results_type;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h0"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.types"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.types">Types</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/const_iterator.html" title="ip::basic_resolver_results::const_iterator"><span class="bold"><strong>const_iterator</strong></span></a>
</p>
</td>
<td>
<p>
The type of an iterator into the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/const_reference.html" title="ip::basic_resolver_results::const_reference"><span class="bold"><strong>const_reference</strong></span></a>
</p>
</td>
<td>
<p>
The type of a const reference to a value in the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/difference_type.html" title="ip::basic_resolver_results::difference_type"><span class="bold"><strong>difference_type</strong></span></a>
</p>
</td>
<td>
<p>
Type used to represent the distance between two iterators in
the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/endpoint_type.html" title="ip::basic_resolver_results::endpoint_type"><span class="bold"><strong>endpoint_type</strong></span></a>
</p>
</td>
<td>
<p>
The endpoint type associated with the results.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/iterator.html" title="ip::basic_resolver_results::iterator"><span class="bold"><strong>iterator</strong></span></a>
</p>
</td>
<td>
<p>
The type of an iterator into the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/iterator_category.html" title="ip::basic_resolver_results::iterator_category"><span class="bold"><strong>iterator_category</strong></span></a>
</p>
</td>
<td>
<p>
The iterator category.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/pointer.html" title="ip::basic_resolver_results::pointer"><span class="bold"><strong>pointer</strong></span></a>
</p>
</td>
<td>
<p>
The type of the result of applying operator-&gt;() to the iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/protocol_type.html" title="ip::basic_resolver_results::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
</p>
</td>
<td>
<p>
The protocol type associated with the results.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/reference.html" title="ip::basic_resolver_results::reference"><span class="bold"><strong>reference</strong></span></a>
</p>
</td>
<td>
<p>
The type of a non-const reference to a value in the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/size_type.html" title="ip::basic_resolver_results::size_type"><span class="bold"><strong>size_type</strong></span></a>
</p>
</td>
<td>
<p>
Type used to represent a count of the elements in the range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/value_type.html" title="ip::basic_resolver_results::value_type"><span class="bold"><strong>value_type</strong></span></a>
</p>
</td>
<td>
<p>
The type of a value in the results range.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h1"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.member_functions"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.member_functions">Member
Functions</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/basic_resolver_results.html" title="ip::basic_resolver_results::basic_resolver_results"><span class="bold"><strong>basic_resolver_results</strong></span></a> <span class="silver">[constructor]</span>
</p>
</td>
<td>
<p>
Default constructor creates an empty range. <br> <span class="silver"> —</span><br> Copy
constructor. <br> <span class="silver"> —</span><br> Move constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/begin.html" title="ip::basic_resolver_results::begin"><span class="bold"><strong>begin</strong></span></a>
</p>
</td>
<td>
<p>
Obtain a begin iterator for the results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/cbegin.html" title="ip::basic_resolver_results::cbegin"><span class="bold"><strong>cbegin</strong></span></a>
</p>
</td>
<td>
<p>
Obtain a begin iterator for the results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/cend.html" title="ip::basic_resolver_results::cend"><span class="bold"><strong>cend</strong></span></a>
</p>
</td>
<td>
<p>
Obtain an end iterator for the results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/empty.html" title="ip::basic_resolver_results::empty"><span class="bold"><strong>empty</strong></span></a>
</p>
</td>
<td>
<p>
Determine whether the results range is empty.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/end.html" title="ip::basic_resolver_results::end"><span class="bold"><strong>end</strong></span></a>
</p>
</td>
<td>
<p>
Obtain an end iterator for the results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/max_size.html" title="ip::basic_resolver_results::max_size"><span class="bold"><strong>max_size</strong></span></a>
</p>
</td>
<td>
<p>
Get the maximum number of entries permitted in a results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator__star_.html" title="ip::basic_resolver_results::operator *"><span class="bold"><strong>operator *</strong></span></a>
</p>
</td>
<td>
<p>
Dereference an iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator_plus__plus_.html" title="ip::basic_resolver_results::operator++"><span class="bold"><strong>operator++</strong></span></a>
</p>
</td>
<td>
<p>
Increment operator (prefix). <br> <span class="silver"> —</span><br> Increment operator
(postfix).
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator_arrow_.html" title="ip::basic_resolver_results::operator-&gt;"><span class="bold"><strong>operator-&gt;</strong></span></a>
</p>
</td>
<td>
<p>
Dereference an iterator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator_eq_.html" title="ip::basic_resolver_results::operator="><span class="bold"><strong>operator=</strong></span></a>
</p>
</td>
<td>
<p>
Assignment operator. <br> <span class="silver"> —</span><br> Move-assignment operator.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/size.html" title="ip::basic_resolver_results::size"><span class="bold"><strong>size</strong></span></a>
</p>
</td>
<td>
<p>
Get the number of entries in the results range.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/swap.html" title="ip::basic_resolver_results::swap"><span class="bold"><strong>swap</strong></span></a>
</p>
</td>
<td>
<p>
Swap the results range with another.
</p>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h2"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.protected_member_functions"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.protected_member_functions">Protected
Member Functions</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/dereference.html" title="ip::basic_resolver_results::dereference"><span class="bold"><strong>dereference</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/equal.html" title="ip::basic_resolver_results::equal"><span class="bold"><strong>equal</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/increment.html" title="ip::basic_resolver_results::increment"><span class="bold"><strong>increment</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h3"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.protected_data_members"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.protected_data_members">Protected
Data Members</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/index_.html" title="ip::basic_resolver_results::index_"><span class="bold"><strong>index_</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/values_.html" title="ip::basic_resolver_results::values_"><span class="bold"><strong>values_</strong></span></a>
</p>
</td>
<td>
</td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h4"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.friends"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.friends">Friends</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator_not__eq_.html" title="ip::basic_resolver_results::operator!="><span class="bold"><strong>operator!=</strong></span></a>
</p>
</td>
<td>
<p>
Test two iterators for inequality.
</p>
</td>
</tr>
<tr>
<td>
<p>
<a class="link" href="../ip__basic_resolver_results/operator_eq__eq_.html" title="ip::basic_resolver_results::operator=="><span class="bold"><strong>operator==</strong></span></a>
</p>
</td>
<td>
<p>
Test two iterators for equality.
</p>
</td>
</tr>
</tbody>
</table></div>
<p>
The <a class="link" href="../ip__basic_resolver_results.html" title="ip::basic_resolver_results"><code class="computeroutput">ip::basic_resolver_results</code></a>
class template is used to define a range over the results returned by a
resolver.
</p>
<p>
The iterator's value_type, obtained when a results iterator is dereferenced,
is:
</p>
<pre class="programlisting">const basic_resolver_entry&lt;InternetProtocol&gt;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h5"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.remarks"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.remarks">Remarks</a>
</h6>
<p>
For backward compatibility, <a class="link" href="../ip__basic_resolver_results.html" title="ip::basic_resolver_results"><code class="computeroutput">ip::basic_resolver_results</code></a>
is derived from <a class="link" href="../ip__basic_resolver_iterator.html" title="ip::basic_resolver_iterator"><code class="computeroutput">ip::basic_resolver_iterator</code></a>.
This derivation is deprecated.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h6"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.thread_safety"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.thread_safety">Thread
Safety</a>
</h6>
<p>
<span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
</p>
<p>
<span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
</p>
<h6>
<a name="asio.reference.ip__basic_resolver.results_type.h7"></a>
<span><a name="asio.reference.ip__basic_resolver.results_type.requirements"></a></span><a class="link" href="results_type.html#asio.reference.ip__basic_resolver.results_type.requirements">Requirements</a>
</h6>
<p>
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver.hpp</code>
</p>
<p>
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="resolve/overload12.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="v4_mapped.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,48 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver::v4_mapped</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver.html" title="ip::basic_resolver">
<link rel="prev" href="results_type.html" title="ip::basic_resolver::results_type">
<link rel="next" href="_basic_resolver.html" title="ip::basic_resolver::~basic_resolver">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="results_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="_basic_resolver.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver.v4_mapped"></a><a class="link" href="v4_mapped.html" title="ip::basic_resolver::v4_mapped">ip::basic_resolver::v4_mapped</a>
</h4></div></div></div>
<p>
<span class="emphasis"><em>Inherited from ip::resolver_base.</em></span>
</p>
<p>
<a class="indexterm" name="asio.indexterm.ip__basic_resolver.v4_mapped"></a>
If
the query protocol family is specified as IPv6, return IPv4-mapped IPv6
addresses on finding no IPv6 addresses.
</p>
<pre class="programlisting">static const flags v4_mapped = implementation_defined;
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="results_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="_basic_resolver.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>