ce.basic_raw_socket.wait.overload1.h1"></a>
            <span class="phrase"><a name="boost_asio.reference.basic_raw_socket.wait.overload1.example"></a></span><a class="link" href="overload1.html#boost_asio.reference.basic_raw_socket.wait.overload1.example">Example</a>
          </h6>
<p>
            Waiting for a socket to become readable.
          </p>
<pre class="programlisting">boost::asio::ip::tcp::socket socket(io_context);
...
socket.wait(boost::asio::ip::tcp::socket::wait_read);
</pre>
</div>
<tabl