cURL / Mailing Lists / curl-library / Single Mail


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

From: Linus Nielsen Feltzing <>
Date: Thu, 10 Apr 2008 09:32:59 +0200

Prasad J Pandit wrote:
> Well, curl_easy_perform() returns 23, which I guess is WRITE_ERROR,
> but it returns 23 even when everything works good.

This suggests that the callback doesn't return the correct amount of
bytes (size*nmemb).

>> 2) What is the exact command line you use to start nc?
> $ nc -kvl 9999

Interesting. My nc (debian unstable) has no -k option. Which version of
nc is this?

$ nc -kvl 9999
9999: inverse host lookup failed: Unknown host
listening on [any] 48001 ...

Received on 2008-04-10