dexterm" name="idm45213618116048"></a>
Connect the stream to the specified endpoint.
        </p>
<pre class="programlisting"><span class="keyword">void</span>
<a class="link" href="connect/overload1.html" title="basic_stream::connect (1 of 10 overloads)">connect</a><span class="special">(</span>
    <span class="identifier">endpoint_type</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">ep</span><span class="special">);</span>
  <span class="emphasis"><em>