cURL / Mailing Lists / curl-library / Single Mail

curl-library

read function

From: Behnam Rashidian <BRashidian_at_zeugmasystems.com>
Date: Mon, 2 Oct 2006 10:18:54 -0700

Hello all,
 
I am looking for hints or maybe sample code that would do the opposite
of getinmemory.c, because I need to read a chunk of memory and then
stream it over TCP instead of saving it into a file. I found this
example in the tutorial but not sure how to use it or where to find the
read function.
 
curl_easy_setopt(easyhandle, CURLOPT_READFUNCTION, read_function);
 
Thank you
Behnam
Received on 2006-10-02