fier">io_service</span> <span class="special">&amp;</span> <span class="identifier">io_service</span><span class="special">,</span>
    <span class="keyword">const</span> <span class="identifier">protocol_type</span> <span class="special">&amp;</span> <span class="identifier">protocol</span><span class="special">);</span>
</pre>
<p>
            This constructor creates and opens a socket.
          </p>
<h6>
<a name="boost_asio.reference.basic_socket.basic_socket.overload2.h0"></a>
            <span><a name