cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE:Problem Curl On VDK

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 3 May 2008 13:48:43 +0200 (CEST)

On Sat, 3 May 2008, Ajeet kumar.S wrote:

> Thanx to all for your support and time. Now we got success on https using
> curl. I want to retrieve data on socket which is sent by server. Actually in
> below API : CURLcode curl_easy_setopt(CURL *handle, CURLoption option,
> parameter), by setting CURLOPT_WRITEDATA and CURLOPT_READDATA we can write
> and read the file data but If we want to read the data(data on socket) which
> is coming from server, what API is going to use to get this data.

You just set a write callback to get the data passed to that function.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-03