curl-library
Re: Example C++ program to demonstrate the use of multi interface with boost::asio
Date: Wed, 21 Nov 2012 14:30:19 +0400
On 11/21/2012 11:53 AM, Daniel Stenberg wrote:
> On Wed, 21 Nov 2012, Lijo Antony wrote:
>
>> I am using multi interface along with boost::asio library(as a
>> replacement for libev). When I first tried this, I had faced many
>> challenges, mainly due to lack of documentation and examples. So to
>> help others who may try this approach, I have written a blog post [1]
>> and an example C++ program to demonstrate this usage, based on curl
>> example evhiperfifo.c.
>
>> [1] http://www.lijoantony.com/?p=76
>
> That's indeed a good write-up and introduction to using libcurl! Nice job.
Thanks :-)
>> This example is in C++ and has a dependency over boost. Would you be
>> interested to add this to curl examples? If so, I could provide a patch.
>
> Sure! I think having more examples is a good thing and other people have
> been asking about asio and boost in relation to libcurl in the past as
> well so I'm sure such an example will be appreciated!
Please find attached the patch.
Regards,
-lijo
Received on 2012-11-21