cURL / Mailing Lists / curl-library / Single Mail

curl-library

can Curl use socket() created by application?

From: amit paliwal <amit.ambitions_at_gmail.com>
Date: Sat, 13 Aug 2011 15:26:38 -0400

Hi All,

Just want to know that is it possible for Curl to use socket created by
application to use in further calls to curl_easy_perform().

Sequence can be:

1) Application creates socket and connect to Server.
2) Once it is connected, it will get a socket descriptor.
3) Pass this socket descriptor to curl, so that in next call to
curl_easy_perform(), curl use above mentioned socket descriptor rather than
creating by its own.

Regards,
Amit

-- 
Regards,
Amit

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-13