Thanks to all for your responses. I will work with the "multi" interface.

-----Original Message-----
From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of 
Daniel Stenberg
Sent: Thursday, March 19, 2015 4:57 AM
To: libcurl development
Subject: Re: CURL_EASY_PERFORM non-blocking vs blocking

On Wed, 18 Mar 2015, Jon wrote:

> I'm currently using CURL_EASY_PERFORM to send data to a remote URL. I 
> notice that in my current configuration it appears to be behaving 
> synchronously (i.e. waiting until completion of function). Since at 
> times I may have several of these calls executing within a short 
> duration I'd like to make this call asynch. Is this possible and if so 
> can someone please advise on how to do it?

The "easy" interface is blocking the "multi" interface is non-blocking:

Start here:
   http://curl.haxx.se/libcurl/c/libcurl-multi.html

There are several examples in that section:
   http://curl.haxx.se/libcurl/c/example.html

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to