cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Direct socket IO with libcurl?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Oct 2006 15:20:04 +0200 (CEST)

On Thu, 19 Oct 2006, Nicholas J Humfrey wrote:

> Is there a way of stopping the WriteFunction callback until there is room in
> the buffer?

Sure, if you use the easy inteface you just don't return from the callback
until you're ready to get more data.

If you're using the multi interface, don't call curl_multi_perform() /
curl_multi_socket() until you're ready to get more data.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET