ct
          (1 of 2 overloads)</a>
</h5></div></div></div>
<p>
            <span class="emphasis"><em>Inherited from basic_socket.</em></span>
          </p>
<p>
            Connect the socket to the specified endpoint.
          </p>
<pre class="programlisting">void connect(
    const endpoint_type &amp; peer_endpoint);
</pre>
<p>
            This function is used to connect a socket to the specified remote endpoint.
            The function call will block until the connection is successfully made
      