cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform - how to know if data is entirely sent.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 May 2011 08:46:42 +0200 (CEST)

On Fri, 20 May 2011, swathi upadhyaya wrote:

> I just want to make sure that data is entirely sent on socket before comming
> out of send function,. but donot want to wait for HTTP response. Is there
> any way to acheive this?

The only way I can think of right now is to use the DEBUGFUNCTION and count
the amount of data sent and when that counter hits the amount you know it
should reach, then it is done.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-20