          <a class="indexterm" name="idp48565952"></a> 
Bind the socket to the given local endpoint.
        </p>
<pre class="programlisting"><span class="keyword">void</span> <a class="link" href="bind/overload1.html" title="basic_stream_socket::bind (1 of 2 overloads)">bind</a><span class="special">(</span>
    <span class="keyword">const</span> <span class="identifier">endpoint_type</span> <span class="special">&amp;</span> <span class="identifier">endpoint</span><span class="special">);</span>
  <span c