lass="special">);</span>
</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
            or an error occurs.
          </p>
<p>
            The socket is automatically opened if it is not already open. If the
            connect fails, and the socket was automatically opened, the socket is
            not returned to the closed state.
          </p>
<h6>
<a name="boost_asio.refer