Hi,
I use libcurl easy interface to connect to my server using HTTPS with
CURLOPT_CONNECT_ONLY option.
After the connection, I would use the socket directly for my own purposes
(read/write my own non-standard data).
Till now the usage has been synchronous. Using select and performing
read/write operations.
But this makes things synchronous.
What I wanted to know is, is there an option to use CURL in an aynchronous
way.
Write shouldn't block. I give data to write, CURL would give a
writeComplete_callback later that write is complete.
Read shouldn't block. I should get a data_callback whenever data is received
on socket.
I read up on the multi-handle but I believe it is not the solution I am
looking for.

Thanks
Jogeshwar Karthik Akundi
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to