cURL / Mailing Lists / curl-library / Single Mail


Re: write callback issues (was Re: A new problem)

From: Prasad J Pandit <>
Date: Tue, 8 Apr 2008 18:37:07 +0530 (IST)

On Tue, 8 Apr 2008, Linus Nielsen Feltzing wrote:
> In fact it is. I have a hard time understanding how that could be possible.
> Would it be possible for you to do the same transaction using the curl.exe

   Ummn...I don't promise, I'll try if I could do that.

> program, using the --trace option, just to see what the server is supposed to
> send?

   Again, as I said earlier, I'm using linux command nc(1) for server, so
it's actually me who sends/types the reply, manually.

> In any case, you must write your callback in such a manner that it can
> receive the response in chunks, with several calls to the callback function.
> That is how libcurl works. When you have done that, chances are that your
> program works as intended.

   Okay, I got that.

Thank you!

   - Prasad
Received on 2008-04-08