• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>ip::resolver_query_base</title>
5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../boost_asio.html" title="Boost.Asio">
8<link rel="up" href="../reference.html" title="Reference">
9<link rel="prev" href="ip__resolver_base/_resolver_base.html" title="ip::resolver_base::~resolver_base">
10<link rel="next" href="ip__resolver_query_base/address_configured.html" title="ip::resolver_query_base::address_configured">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15<td align="center"><a href="../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="ip__resolver_base/_resolver_base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__resolver_query_base/address_configured.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_asio.reference.ip__resolver_query_base"></a><a class="link" href="ip__resolver_query_base.html" title="ip::resolver_query_base">ip::resolver_query_base</a>
28</h3></div></div></div>
29<p>
30        The <a class="link" href="ip__resolver_query_base.html" title="ip::resolver_query_base"><code class="computeroutput">ip::resolver_query_base</code></a>
31        class is used as a base for the <a class="link" href="ip__basic_resolver_query.html" title="ip::basic_resolver_query"><code class="computeroutput">ip::basic_resolver_query</code></a>
32        class templates to provide a common place to define the flag constants.
33      </p>
34<pre class="programlisting">class resolver_query_base :
35  public ip::resolver_base
36</pre>
37<h5>
38<a name="boost_asio.reference.ip__resolver_query_base.h0"></a>
39        <span class="phrase"><a name="boost_asio.reference.ip__resolver_query_base.types"></a></span><a class="link" href="ip__resolver_query_base.html#boost_asio.reference.ip__resolver_query_base.types">Types</a>
40      </h5>
41<div class="informaltable"><table class="table">
42<colgroup>
43<col>
44<col>
45</colgroup>
46<thead><tr>
47<th>
48                <p>
49                  Name
50                </p>
51              </th>
52<th>
53                <p>
54                  Description
55                </p>
56              </th>
57</tr></thead>
58<tbody><tr>
59<td>
60                <p>
61                  <a class="link" href="ip__resolver_query_base/flags.html" title="ip::resolver_query_base::flags"><span class="bold"><strong>flags</strong></span></a>
62                </p>
63              </td>
64<td>
65                <p>
66                  A bitmask type (C++ Std [lib.bitmask.types]).
67                </p>
68              </td>
69</tr></tbody>
70</table></div>
71<h5>
72<a name="boost_asio.reference.ip__resolver_query_base.h1"></a>
73        <span class="phrase"><a name="boost_asio.reference.ip__resolver_query_base.protected_member_functions"></a></span><a class="link" href="ip__resolver_query_base.html#boost_asio.reference.ip__resolver_query_base.protected_member_functions">Protected
74        Member Functions</a>
75      </h5>
76<div class="informaltable"><table class="table">
77<colgroup>
78<col>
79<col>
80</colgroup>
81<thead><tr>
82<th>
83                <p>
84                  Name
85                </p>
86              </th>
87<th>
88                <p>
89                  Description
90                </p>
91              </th>
92</tr></thead>
93<tbody><tr>
94<td>
95                <p>
96                  <a class="link" href="ip__resolver_query_base/_resolver_query_base.html" title="ip::resolver_query_base::~resolver_query_base"><span class="bold"><strong>~resolver_query_base</strong></span></a> <span class="silver">[destructor]</span>
97                </p>
98              </td>
99<td>
100                <p>
101                  Protected destructor to prevent deletion through this type.
102                </p>
103              </td>
104</tr></tbody>
105</table></div>
106<h5>
107<a name="boost_asio.reference.ip__resolver_query_base.h2"></a>
108        <span class="phrase"><a name="boost_asio.reference.ip__resolver_query_base.data_members"></a></span><a class="link" href="ip__resolver_query_base.html#boost_asio.reference.ip__resolver_query_base.data_members">Data
109        Members</a>
110      </h5>
111<div class="informaltable"><table class="table">
112<colgroup>
113<col>
114<col>
115</colgroup>
116<thead><tr>
117<th>
118                <p>
119                  Name
120                </p>
121              </th>
122<th>
123                <p>
124                  Description
125                </p>
126              </th>
127</tr></thead>
128<tbody>
129<tr>
130<td>
131                <p>
132                  <a class="link" href="ip__resolver_query_base/address_configured.html" title="ip::resolver_query_base::address_configured"><span class="bold"><strong>address_configured</strong></span></a> <span class="silver">[static]</span>
133                </p>
134              </td>
135<td>
136                <p>
137                  Only return IPv4 addresses if a non-loopback IPv4 address is configured
138                  for the system. Only return IPv6 addresses if a non-loopback IPv6
139                  address is configured for the system.
140                </p>
141              </td>
142</tr>
143<tr>
144<td>
145                <p>
146                  <a class="link" href="ip__resolver_query_base/all_matching.html" title="ip::resolver_query_base::all_matching"><span class="bold"><strong>all_matching</strong></span></a> <span class="silver">[static]</span>
147                </p>
148              </td>
149<td>
150                <p>
151                  If used with v4_mapped, return all matching IPv6 and IPv4 addresses.
152                </p>
153              </td>
154</tr>
155<tr>
156<td>
157                <p>
158                  <a class="link" href="ip__resolver_query_base/canonical_name.html" title="ip::resolver_query_base::canonical_name"><span class="bold"><strong>canonical_name</strong></span></a> <span class="silver">[static]</span>
159                </p>
160              </td>
161<td>
162                <p>
163                  Determine the canonical name of the host specified in the query.
164                </p>
165              </td>
166</tr>
167<tr>
168<td>
169                <p>
170                  <a class="link" href="ip__resolver_query_base/numeric_host.html" title="ip::resolver_query_base::numeric_host"><span class="bold"><strong>numeric_host</strong></span></a> <span class="silver">[static]</span>
171                </p>
172              </td>
173<td>
174                <p>
175                  Host name should be treated as a numeric string defining an IPv4
176                  or IPv6 address and no name resolution should be attempted.
177                </p>
178              </td>
179</tr>
180<tr>
181<td>
182                <p>
183                  <a class="link" href="ip__resolver_query_base/numeric_service.html" title="ip::resolver_query_base::numeric_service"><span class="bold"><strong>numeric_service</strong></span></a> <span class="silver">[static]</span>
184                </p>
185              </td>
186<td>
187                <p>
188                  Service name should be treated as a numeric string defining a port
189                  number and no name resolution should be attempted.
190                </p>
191              </td>
192</tr>
193<tr>
194<td>
195                <p>
196                  <a class="link" href="ip__resolver_query_base/passive.html" title="ip::resolver_query_base::passive"><span class="bold"><strong>passive</strong></span></a> <span class="silver">[static]</span>
197                </p>
198              </td>
199<td>
200                <p>
201                  Indicate that returned endpoint is intended for use as a locally
202                  bound socket endpoint.
203                </p>
204              </td>
205</tr>
206<tr>
207<td>
208                <p>
209                  <a class="link" href="ip__resolver_query_base/v4_mapped.html" title="ip::resolver_query_base::v4_mapped"><span class="bold"><strong>v4_mapped</strong></span></a> <span class="silver">[static]</span>
210                </p>
211              </td>
212<td>
213                <p>
214                  If the query protocol family is specified as IPv6, return IPv4-mapped
215                  IPv6 addresses on finding no IPv6 addresses.
216                </p>
217              </td>
218</tr>
219</tbody>
220</table></div>
221<h5>
222<a name="boost_asio.reference.ip__resolver_query_base.h3"></a>
223        <span class="phrase"><a name="boost_asio.reference.ip__resolver_query_base.requirements"></a></span><a class="link" href="ip__resolver_query_base.html#boost_asio.reference.ip__resolver_query_base.requirements">Requirements</a>
224      </h5>
225<p>
226        <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/ip/resolver_query_base.hpp</code>
227      </p>
228<p>
229        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
230      </p>
231</div>
232<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
233<td align="left"></td>
234<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
235      Kohlhoff<p>
236        Distributed under the Boost Software License, Version 1.0. (See accompanying
237        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>)
238      </p>
239</div></td>
240</tr></table>
241<hr>
242<div class="spirit-nav">
243<a accesskey="p" href="ip__resolver_base/_resolver_base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__resolver_query_base/address_configured.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
244</div>
245</body>
246</html>
247