<p>The Connection Manager API is related to <a href="http://curl.haxx.se/libcurl/" target="_blank">libcurl</a> (see the <a href="curl_n.htm">Curl</a> guide) and sockets. After a network connection is established, you can create a socket on the kernel Linux stack to be used directly or by libcurl or any other network library. If you want to create a socket directly without libcurl, you must check whether you are using the IPv4 or IPv6 environment, and create an applicable IP socket.</p>
<p>To manage IP sockets, you can:</p>
- <ul>
+ <ol>
<li><a href="#socket_init">Initialize a socket</a> for use and check the default connection.</li>
<li><a href="#socket_profile">Change the connection profile manually</a> to use the connection you want instead of the default connection.</li>
<li><a href="#socket_family">Retrieve the IP address family for a client-side socket</a> or <a href="#socket_familyserver">for a server-side socket</a>.</li>
<li><a href="#socket_create">Create the client-side socket, and communicate with the remote host</a>, or <a href="#socket_createserver">create the server-side socket, and communicate with the client</a>.</li>
<li><a href="#socket_close">Close the socket</a> and release the resources.</li>
- </ul>
+ </ol>
<div class="note">
<strong>Note</strong>