1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>ip::basic_resolver::resolve</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="../ip__basic_resolver.html" title="ip::basic_resolver"> 9<link rel="prev" href="query.html" title="ip::basic_resolver::query"> 10<link rel="next" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)"> 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="query.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.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="resolve/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="boost_asio.reference.ip__basic_resolver.resolve"></a><a class="link" href="resolve.html" title="ip::basic_resolver::resolve">ip::basic_resolver::resolve</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="boost_asio.indexterm.ip__basic_resolver.resolve"></a> 31(Deprecated: 32 Use overload with separate host and service parameters.) Perform forward 33 resolution of a query to a list of entries. 34 </p> 35<pre class="programlisting">results_type <a class="link" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">resolve</a>( 36 const query & q); 37 <span class="emphasis"><em>» <a class="link" href="resolve/overload1.html" title="ip::basic_resolver::resolve (1 of 12 overloads)">more...</a></em></span> 38 39results_type <a class="link" href="resolve/overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">resolve</a>( 40 const query & q, 41 boost::system::error_code & ec); 42 <span class="emphasis"><em>» <a class="link" href="resolve/overload2.html" title="ip::basic_resolver::resolve (2 of 12 overloads)">more...</a></em></span> 43</pre> 44<p> 45 Perform forward resolution of a query to a list of entries. 46 </p> 47<pre class="programlisting">results_type <a class="link" href="resolve/overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">resolve</a>( 48 string_view host, 49 string_view service); 50 <span class="emphasis"><em>» <a class="link" href="resolve/overload3.html" title="ip::basic_resolver::resolve (3 of 12 overloads)">more...</a></em></span> 51 52results_type <a class="link" href="resolve/overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">resolve</a>( 53 string_view host, 54 string_view service, 55 boost::system::error_code & ec); 56 <span class="emphasis"><em>» <a class="link" href="resolve/overload4.html" title="ip::basic_resolver::resolve (4 of 12 overloads)">more...</a></em></span> 57 58results_type <a class="link" href="resolve/overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">resolve</a>( 59 string_view host, 60 string_view service, 61 resolver_base::flags resolve_flags); 62 <span class="emphasis"><em>» <a class="link" href="resolve/overload5.html" title="ip::basic_resolver::resolve (5 of 12 overloads)">more...</a></em></span> 63 64results_type <a class="link" href="resolve/overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">resolve</a>( 65 string_view host, 66 string_view service, 67 resolver_base::flags resolve_flags, 68 boost::system::error_code & ec); 69 <span class="emphasis"><em>» <a class="link" href="resolve/overload6.html" title="ip::basic_resolver::resolve (6 of 12 overloads)">more...</a></em></span> 70 71results_type <a class="link" href="resolve/overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">resolve</a>( 72 const protocol_type & protocol, 73 string_view host, 74 string_view service); 75 <span class="emphasis"><em>» <a class="link" href="resolve/overload7.html" title="ip::basic_resolver::resolve (7 of 12 overloads)">more...</a></em></span> 76 77results_type <a class="link" href="resolve/overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">resolve</a>( 78 const protocol_type & protocol, 79 string_view host, 80 string_view service, 81 boost::system::error_code & ec); 82 <span class="emphasis"><em>» <a class="link" href="resolve/overload8.html" title="ip::basic_resolver::resolve (8 of 12 overloads)">more...</a></em></span> 83 84results_type <a class="link" href="resolve/overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">resolve</a>( 85 const protocol_type & protocol, 86 string_view host, 87 string_view service, 88 resolver_base::flags resolve_flags); 89 <span class="emphasis"><em>» <a class="link" href="resolve/overload9.html" title="ip::basic_resolver::resolve (9 of 12 overloads)">more...</a></em></span> 90 91results_type <a class="link" href="resolve/overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">resolve</a>( 92 const protocol_type & protocol, 93 string_view host, 94 string_view service, 95 resolver_base::flags resolve_flags, 96 boost::system::error_code & ec); 97 <span class="emphasis"><em>» <a class="link" href="resolve/overload10.html" title="ip::basic_resolver::resolve (10 of 12 overloads)">more...</a></em></span> 98</pre> 99<p> 100 Perform reverse resolution of an endpoint to a list of entries. 101 </p> 102<pre class="programlisting">results_type <a class="link" href="resolve/overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">resolve</a>( 103 const endpoint_type & e); 104 <span class="emphasis"><em>» <a class="link" href="resolve/overload11.html" title="ip::basic_resolver::resolve (11 of 12 overloads)">more...</a></em></span> 105 106results_type <a class="link" href="resolve/overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">resolve</a>( 107 const endpoint_type & e, 108 boost::system::error_code & ec); 109 <span class="emphasis"><em>» <a class="link" href="resolve/overload12.html" title="ip::basic_resolver::resolve (12 of 12 overloads)">more...</a></em></span> 110</pre> 111</div> 112<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 113<td align="left"></td> 114<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 115 Kohlhoff<p> 116 Distributed under the Boost Software License, Version 1.0. (See accompanying 117 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>) 118 </p> 119</div></td> 120</tr></table> 121<hr> 122<div class="spirit-nav"> 123<a accesskey="p" href="query.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver.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="resolve/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 124</div> 125</body> 126</html> 127