
          (6 of 12 overloads)</a>
</h5></div></div></div>
<p>
            Accept a new connection.
          </p>
<pre class="programlisting">Protocol::socket accept(
    boost::system::error_code &amp; ec);
</pre>
<p>
            This function is used to accept a new connection from a peer. The function
            call will block until a new connection has been accepted successfully
            or an error occurs.
          </p>
<p>
            This overload requires that the Protocol template parameter 