resolve.html
7.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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 & 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 & q,
asio::error_code & 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 & 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 & 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 & 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 & protocol,
string_view host,
string_view service,
asio::error_code & 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 & 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 & protocol,
string_view host,
string_view service,
resolver_base::flags resolve_flags,
asio::error_code & 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 & 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 & e,
asio::error_code & 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>