>Example</a>
          </h6>
<p>
            Waiting for a socket to become readable.
          </p>
<pre class="programlisting">boost::asio::ip::tcp::socket socket(io_context);
...
boost::system::error_code ec;
socket.wait(boost::asio::ip::tcp::socket::wait_read, ec);
</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-2017 Christopher M. Kohlhoff<p>
        Dis