ds)</a>
</h5></div></div></div>
<p>
            Cancel all asynchronous operations associated with the acceptor.
          </p>
<pre class="programlisting">void cancel(
    boost::system::error_code &amp; ec);
</pre>
<p>
            This function causes all outstanding asynchronous connect, send and receive
            operations to finish immediately, and the handlers for cancelled operations
            will be passed the <code class="computeroutput">boost::asio::error::operation_aborted</code>
          