eroutput"><span class="identifier">basic_stream_socket</span></code>
        thusly:
      </p>
<pre class="programlisting"><span class="comment">// The acceptor is used to listen and accept incoming connections.</span>
<span class="comment">// We construct the acceptor to use a new strand, and listen</span>
<span class="comment">// on the loopback address with an operating-system assigned port.</span>

<span class="identifier">net</span><span class="special">::</span><span class="identifier">ip</span><span