       (2 of 2 overloads)</a>
</h5></div></div></div>
<p>
            Get the local endpoint of the socket.
          </p>
<pre class="programlisting">endpoint_type local_endpoint(
    boost::system::error_code &amp; ec) const;
</pre>
<p>
            This function is used to obtain the locally bound endpoint of the socket.
          </p>
<h6>
<a name="boost_asio.reference.basic_socket.local_endpoint.overload2.h0"></a>
            <span class="phrase"><a name="boost_asio.reference.basic_socket.local_endpoint