cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl for realtime transactions

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 19 Dec 2007 11:11:10 -0600

On Dec 19, 2007 10:43 AM, Michael Peluso <mpeluso_at_acc-q-data.com> wrote:

>
>
> I looked through the RFC document and it seems to be geared for file
> transfers, which is not what I'm doing, but I assume it applies to just
> sending textual data.
>
> Do you have any examples with a "write callback" to capture a response.

This one works pretty well:

     http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c

The response is stashed in a chunk of memory.

Ralph Mitchell
Received on 2007-12-19