diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:22:41 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:22:41 +0900 |
commit | 3c1df2168531ad5580076ae08d529054689aeedd (patch) | |
tree | 941aff6f86393eecacddfec252a8508c7e8351c9 /doc/html/boost_asio/reference/connect | |
parent | d6a306e745acfee00e81ccaf3324a2a03516db41 (diff) | |
download | boost-3c1df2168531ad5580076ae08d529054689aeedd.tar.gz boost-3c1df2168531ad5580076ae08d529054689aeedd.tar.bz2 boost-3c1df2168531ad5580076ae08d529054689aeedd.zip |
Imported Upstream version 1.70.0upstream/1.70.0
Diffstat (limited to 'doc/html/boost_asio/reference/connect')
12 files changed, 52 insertions, 40 deletions
diff --git a/doc/html/boost_asio/reference/connect/overload1.html b/doc/html/boost_asio/reference/connect/overload1.html index b90227468f..b8e2cea9af 100644 --- a/doc/html/boost_asio/reference/connect/overload1.html +++ b/doc/html/boost_asio/reference/connect/overload1.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, typename enable_if< is_endpoint_sequence< EndpointSequence >::value >::type * = 0); </pre> @@ -88,15 +89,15 @@ Protocol::endpoint connect( <a name="boost_asio.reference.connect.overload1.h3"></a> <span class="phrase"><a name="boost_asio.reference.connect.overload1.example"></a></span><a class="link" href="overload1.html#boost_asio.reference.connect.overload1.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::asio::connect(s, r.resolve(q)); </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-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> diff --git a/doc/html/boost_asio/reference/connect/overload10.html b/doc/html/boost_asio/reference/connect/overload10.html index e76565c81c..591843e26a 100644 --- a/doc/html/boost_asio/reference/connect/overload10.html +++ b/doc/html/boost_asio/reference/connect/overload10.html @@ -33,10 +33,11 @@ </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 Iterator, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, ConnectCondition connect_condition, boost::system::error_code & ec, @@ -111,7 +112,7 @@ Iterator connect( </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> diff --git a/doc/html/boost_asio/reference/connect/overload11.html b/doc/html/boost_asio/reference/connect/overload11.html index 151911a0de..eca71f0022 100644 --- a/doc/html/boost_asio/reference/connect/overload11.html +++ b/doc/html/boost_asio/reference/connect/overload11.html @@ -32,10 +32,11 @@ </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 Iterator, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, Iterator end, ConnectCondition connect_condition); @@ -133,10 +134,10 @@ Iterator connect( It would be used with the <code class="computeroutput">boost::asio::connect</code> function as follows: </p> -<pre class="programlisting">tcp::resolver r(io_context); +<pre class="programlisting">tcp::resolver r(my_context); tcp::resolver::query q("host", "service"); tcp::resolver::results_type e = r.resolve(q); -tcp::socket s(io_context); +tcp::socket s(my_context); tcp::resolver::results_type::iterator i = boost::asio::connect( s, e.begin(), e.end(), my_connect_condition()); std::cout << "Connected to: " << i->endpoint() << std::endl; @@ -144,7 +145,7 @@ std::cout << "Connected to: " << i->endpoint() << std::endl </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> diff --git a/doc/html/boost_asio/reference/connect/overload12.html b/doc/html/boost_asio/reference/connect/overload12.html index a35992a45b..0d5c4678c5 100644 --- a/doc/html/boost_asio/reference/connect/overload12.html +++ b/doc/html/boost_asio/reference/connect/overload12.html @@ -32,10 +32,11 @@ </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 Iterator, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, Iterator end, ConnectCondition connect_condition, @@ -126,10 +127,10 @@ Iterator connect( It would be used with the <code class="computeroutput">boost::asio::connect</code> function as follows: </p> -<pre class="programlisting">tcp::resolver r(io_context); +<pre class="programlisting">tcp::resolver r(my_context); tcp::resolver::query q("host", "service"); tcp::resolver::results_type e = r.resolve(q); -tcp::socket s(io_context); +tcp::socket s(my_context); boost::system::error_code ec; tcp::resolver::results_type::iterator i = boost::asio::connect( s, e.begin(), e.end(), my_connect_condition()); @@ -145,7 +146,7 @@ else </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> 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> diff --git a/doc/html/boost_asio/reference/connect/overload3.html b/doc/html/boost_asio/reference/connect/overload3.html index 1ebd963ce0..ec163c7143 100644 --- a/doc/html/boost_asio/reference/connect/overload3.html +++ b/doc/html/boost_asio/reference/connect/overload3.html @@ -33,9 +33,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 Iterator> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, typename enable_if<!is_endpoint_sequence< Iterator >::value >::type * = 0); </pre> @@ -98,7 +99,7 @@ Iterator connect( </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> diff --git a/doc/html/boost_asio/reference/connect/overload4.html b/doc/html/boost_asio/reference/connect/overload4.html index 5b3d8efbff..2bacfb4ca4 100644 --- a/doc/html/boost_asio/reference/connect/overload4.html +++ b/doc/html/boost_asio/reference/connect/overload4.html @@ -33,9 +33,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 Iterator> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, boost::system::error_code & ec, typename enable_if<!is_endpoint_sequence< Iterator >::value >::type * = 0); @@ -90,7 +91,7 @@ Iterator connect( </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> diff --git a/doc/html/boost_asio/reference/connect/overload5.html b/doc/html/boost_asio/reference/connect/overload5.html index fc8e45fd3f..fb346bb218 100644 --- a/doc/html/boost_asio/reference/connect/overload5.html +++ b/doc/html/boost_asio/reference/connect/overload5.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 Iterator> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, Iterator end); </pre> @@ -92,16 +93,16 @@ Iterator connect( <a name="boost_asio.reference.connect.overload5.h3"></a> <span class="phrase"><a name="boost_asio.reference.connect.overload5.example"></a></span><a class="link" href="overload5.html#boost_asio.reference.connect.overload5.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::resolver::results_type e = r.resolve(q); -tcp::socket s(io_context); +tcp::socket s(my_context); boost::asio::connect(s, e.begin(), e.end()); </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-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> diff --git a/doc/html/boost_asio/reference/connect/overload6.html b/doc/html/boost_asio/reference/connect/overload6.html index b4f8b5c56e..8ec6d28dc0 100644 --- a/doc/html/boost_asio/reference/connect/overload6.html +++ b/doc/html/boost_asio/reference/connect/overload6.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 Iterator> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, Iterator end, boost::system::error_code & ec); @@ -85,10 +86,10 @@ Iterator connect( <a name="boost_asio.reference.connect.overload6.h2"></a> <span class="phrase"><a name="boost_asio.reference.connect.overload6.example"></a></span><a class="link" href="overload6.html#boost_asio.reference.connect.overload6.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::resolver::results_type e = r.resolve(q); -tcp::socket s(io_context); +tcp::socket s(my_context); boost::system::error_code ec; boost::asio::connect(s, e.begin(), e.end(), ec); if (ec) @@ -99,7 +100,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> diff --git a/doc/html/boost_asio/reference/connect/overload7.html b/doc/html/boost_asio/reference/connect/overload7.html index 6d25e5947b..2cc2d2e585 100644 --- a/doc/html/boost_asio/reference/connect/overload7.html +++ b/doc/html/boost_asio/reference/connect/overload7.html @@ -32,10 +32,11 @@ </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>, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Protocol::endpoint connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, const EndpointSequence & endpoints, ConnectCondition connect_condition, typename enable_if< is_endpoint_sequence< EndpointSequence >::value >::type * = 0); @@ -129,9 +130,9 @@ Protocol::endpoint connect( It would be used with the <code class="computeroutput">boost::asio::connect</code> function as follows: </p> -<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); tcp::endpoint e = boost::asio::connect(s, r.resolve(q), my_connect_condition()); std::cout << "Connected to: " << e << std::endl; @@ -139,7 +140,7 @@ std::cout << "Connected to: " << e << std::endl; </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> diff --git a/doc/html/boost_asio/reference/connect/overload8.html b/doc/html/boost_asio/reference/connect/overload8.html index 13153f852b..166081125e 100644 --- a/doc/html/boost_asio/reference/connect/overload8.html +++ b/doc/html/boost_asio/reference/connect/overload8.html @@ -32,10 +32,11 @@ </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>, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Protocol::endpoint connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, const EndpointSequence & endpoints, ConnectCondition connect_condition, boost::system::error_code & ec, @@ -122,9 +123,9 @@ Protocol::endpoint connect( It would be used with the <code class="computeroutput">boost::asio::connect</code> function as follows: </p> -<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; tcp::endpoint e = boost::asio::connect(s, r.resolve(q), my_connect_condition(), ec); @@ -140,7 +141,7 @@ else </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> diff --git a/doc/html/boost_asio/reference/connect/overload9.html b/doc/html/boost_asio/reference/connect/overload9.html index 5f48df1841..3bdb79a27b 100644 --- a/doc/html/boost_asio/reference/connect/overload9.html +++ b/doc/html/boost_asio/reference/connect/overload9.html @@ -33,10 +33,11 @@ </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 Iterator, typename <a class="link" href="../ConnectCondition.html" title="Connect condition requirements">ConnectCondition</a>> Iterator connect( - basic_socket< Protocol > & s, + basic_socket< Protocol, Executor > & s, Iterator begin, ConnectCondition connect_condition, typename enable_if<!is_endpoint_sequence< Iterator >::value >::type * = 0); @@ -119,7 +120,7 @@ Iterator connect( </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> |