cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: blocking IO through curl_easy_perform()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Dec 2010 23:25:11 +0100 (CET)

On Thu, 30 Dec 2010, amit paliwal wrote:

> Which API supports blocking operation with libcurl. I need to get blocked
> until Server sends some data, and once it sends data then only do
> curl_easy_perform() to fetch that data.

curl_easy_perform() is a blocking operation. It will return when the response
has been received. As documented.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-30