diff options
Diffstat (limited to 'doc/html/boost_asio/reference/connect/overload2.html')
-rw-r--r-- | doc/html/boost_asio/reference/connect/overload2.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/html/boost_asio/reference/connect/overload2.html b/doc/html/boost_asio/reference/connect/overload2.html index 38d9f67629..59ac8e3344 100644 --- a/doc/html/boost_asio/reference/connect/overload2.html +++ b/doc/html/boost_asio/reference/connect/overload2.html @@ -32,9 +32,10 @@ </p> <pre class="programlisting">template< typename <a class="link" href="../Protocol.html" title="Protocol requirements">Protocol</a>, + typename <a class="link" href="../Executor1.html" title="Executor requirements">Executor</a>, typename <a class="link" href="../EndpointSequence.html" title="Endpoint sequence requirements">EndpointSequence</a>> Protocol::endpoint connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, const EndpointSequence & endpoints, boost::system::error_code & ec, typename enable_if< is_endpoint_sequence< EndpointSequence >::value >::type * = 0); @@ -81,9 +82,9 @@ Protocol::endpoint connect( <a name="boost_asio.reference.connect.overload2.h2"></a> <span class="phrase"><a name="boost_asio.reference.connect.overload2.example"></a></span><a class="link" href="overload2.html#boost_asio.reference.connect.overload2.example">Example</a> </h6> -<pre class="programlisting">tcp::resolver r(io_context); +<pre class="programlisting">tcp::resolver r(my_context); tcp::resolver::query q("host", "service"); -tcp::socket s(io_context); +tcp::socket s(my_context); boost::system::error_code ec; boost::asio::connect(s, r.resolve(q), ec); if (ec) @@ -94,7 +95,7 @@ if (ec) </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-2018 Christopher M. Kohlhoff<p> +<td align="right"><div class="copyright-footer">Copyright © 2003-2019 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> |