curl-library
Re: Socket read and write functions
Date: Wed, 21 Nov 2012 21:59:59 +0100
On 21-11-12 21:16, Colin wrote:
> Hi,
>
> needing a library to perform HTTP requests I am looking at libcurl,
> and have stumbled over something that seems strange: There are
> "curlopts" CURLOPT_OPENSOCKETFUNCTION etc. to set the functions to
> open, close and manipulate the socket, however there are no
> equivalents for read and write. Are there any specific reasons to not
> include them and/or could they be easily added?
>
> Thanks, Colin
Just to be sure, are you perhaps looking for the callback function to set
data that libcurl then need to transfer or read from the servers' reply?
Here are some examples which might give you some hints:
http://curl.haxx.se/libcurl/c/example.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-21