cURL / Mailing Lists / curl-users / Single Mail

curl-users

Use of curl_easy_reset

From: aekam parmar <aekam15_at_gmail.com>
Date: Fri, 27 May 2011 13:10:04 +0530

In one of my project i need to get stream from IP camera over HTTP.
Now once i call curl_easy_perform, it starts receiving continuous
stream of data. If i want to stop transfer, i'm using curl_easy_reset
followed by curl_easy_cleanup. Is this the right way to do it, or
should i do it other way?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-27