class="emphasis"><em>Inherited from basic_socket.</em></span>
          </p>
<p>
            Bind the socket to the given local endpoint.
          </p>
<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">bind</span><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>
</pre>
<p>
            This function b