Lines Matching refs:socket
18 CURLOPT_OPENSOCKETFUNCTION - callback for opening socket
26 CURLSOCKTYPE_IPCXN, /* socket created for a specific IP connection */
49 This callback function gets called by libcurl instead of the *socket(2)*
51 this particular socket. *CURLSOCKTYPE_IPCXN* is for IP based connections
60 function should return the newly created socket or *CURL_SOCKET_BAD* in
62 additional *setsockopt(2)* calls can of course be done on the socket at
68 If you want to pass in a socket with an already established connection, pass
69 the socket back with this callback and then use
76 return socket(addr->family, addr->socktype, addr->protocol);
84 /* make libcurl use the already established socket 'sockfd' */
92 /* the actual externally set socket is passed in via the OPENSOCKETDATA
113 /* call this function to get a socket */
117 /* call this function to set options for the socket */