class="emphasis"><em>Inherited from basic_socket.</em></span>
          </p>
<p>
            Wait for the socket to become ready to read, ready to write, or to have
            pending error conditions.
          </p>
<pre class="programlisting">void wait(
    wait_type w);
</pre>
<p>
            This function is used to perform a blocking wait for a socket to enter
            a ready to read, write or error condition state.
          </p>
<h6>
<a name="boost_asio.reference.basic_raw_socket.wait.overload1.