cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Example C++ program to demonstrate the use of multi interface with boost::asio

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Nov 2012 08:53:30 +0100 (CET)

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.

> 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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-21