cURL / Mailing Lists / curl-library / Single Mail

curl-library

never-ending incoming stream: how to see it?

From: Pete Wilson <pete142_at_yahoo.com>
Date: Mon, 15 Feb 2010 00:51:15 -0800 (PST)

Hi folks --

I must act on incoming data as it arrives, but the data are part of a continuous, unending stream of HTTP messages.

What is the best way to tell libcurl, during the synchronous read of this stream, to give control once in a while to my main program code?

Or else please tell me if the read of the stream needs to be asynchronous.

Thanks!

-- Pete

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