curl-library
Re: question regarding CURLOPT_WRITEFUNCTION & CURLOPT_WRITEDATA
From: Jan <haihappn_at_gmail.com>
Date: Mon, 20 Oct 2008 16:26:03 +0200
Date: Mon, 20 Oct 2008 16:26:03 +0200
2008/10/20 Daniel Stenberg <daniel_at_haxx.se>
> On Mon, 20 Oct 2008, Jan wrote:
>
> The function 'WriteMemoryCallback' in that example is exactly such a
> callback. It gets called by libcurl when data is downloaded. And yes it
> stores all downloaded data in a single memory chunk.
> <http://daniel.haxx.se>
so whatfor is the WRITEDATA call needed in this example? after finishing the
last WRITEFUNCTION call all the chunks should be stored in the single memory
struct "chunk"?
-- JanReceived on 2008-10-20