summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/reference/basic_socket/async_wait.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost_asio/reference/basic_socket/async_wait.html')
-rw-r--r--doc/html/boost_asio/reference/basic_socket/async_wait.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/boost_asio/reference/basic_socket/async_wait.html b/doc/html/boost_asio/reference/basic_socket/async_wait.html
index 9a1a99c211..7caf9fee80 100644
--- a/doc/html/boost_asio/reference/basic_socket/async_wait.html
+++ b/doc/html/boost_asio/reference/basic_socket/async_wait.html
@@ -67,8 +67,8 @@ Asynchronously
<p>
Regardless of whether the asynchronous operation completes immediately
or not, the handler will not be invoked from within this function.
- Invocation of the handler will be performed in a manner equivalent
- to using <code class="computeroutput">boost::asio::io_context::post()</code>.
+ On immediate completion, invocation of the handler will be performed
+ in a manner equivalent to using <a class="link" href="../post.html" title="post"><code class="computeroutput">post</code></a>.
</p>
</dd>
</dl>
@@ -87,14 +87,14 @@ Asynchronously
...
-boost::asio::ip::tcp::socket socket(io_context);
+boost::asio::ip::tcp::socket socket(my_context);
...
socket.async_wait(boost::asio::ip::tcp::socket::wait_read, wait_handler);
</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 &#169; 2003-2018 Christopher M. Kohlhoff<p>
+<td align="right"><div class="copyright-footer">Copyright &#169; 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>