Re: using curl for a constant stream of event notifications

2019-07-10 Thread Ray Satiro via curl-library
On 7/9/2019 12:43 PM, R C via curl-library wrote: > > I have been using the curl library, to write some c code for for > accessing IoT devices. > > Some of these devices can produce a "constant stream" of event > notifications,  in text/xml. > > I wonder what the best approach would be to open such

using curl for a constant stream of event notifications

2019-07-09 Thread R C via curl-library
Hello, I have been using the curl library, to write some c code for for accessing IoT devices. Some of these devices can produce a "constant stream" of event notifications, in text/xml. I wonder what the best approach would be to open such a stream and keep reading it. (probably close it once i