diff options
Diffstat (limited to 'doc/html/boost_asio/reference/basic_socket/linger.html')
-rw-r--r-- | doc/html/boost_asio/reference/basic_socket/linger.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/boost_asio/reference/basic_socket/linger.html b/doc/html/boost_asio/reference/basic_socket/linger.html index 6c9df657f7..b28a7ae4c9 100644 --- a/doc/html/boost_asio/reference/basic_socket/linger.html +++ b/doc/html/boost_asio/reference/basic_socket/linger.html @@ -46,7 +46,7 @@ Socket option <p> Setting the option: </p> -<pre class="programlisting">boost::asio::ip::tcp::socket socket(io_context); +<pre class="programlisting">boost::asio::ip::tcp::socket socket(my_context); ... boost::asio::socket_base::linger option(true, 30); socket.set_option(option); @@ -54,7 +54,7 @@ socket.set_option(option); <p> Getting the current option value: </p> -<pre class="programlisting">boost::asio::ip::tcp::socket socket(io_context); +<pre class="programlisting">boost::asio::ip::tcp::socket socket(my_context); ... boost::asio::socket_base::linger option; socket.get_option(option); @@ -74,7 +74,7 @@ unsigned short timeout = option.timeout(); </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> |