Boost logo

Boost :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2005-11-04 06:25:48


Jose wrote:
> a very complete network library almost-ready for boost inclusion is already
> available
> check http://asio.sf.net
>
> Can you compare your proposal to asio, as it has already been discussed in
> this list

I'll call my proposal iostreams_network while answering your request.

Many different libraries have been exposed and discussed in this list in
the past, including the iostreams_network one.

Some differences from reading the reference:

- asio is a new design for an IO library;
  iostreams_network adds networking to the IOStreams library
  (now based on Boost.IOStreams).

- asio's design allows for "asynchronous" or "multiplexing" IO;
  iostreams_network adds simple blocking as usual for IOStreams.

- asio adds a "smart buffer" machinery;
  iostreams_network reuses basic_streambuf.

- asio adds many wrappers for socket options;
  iostreams_network hides all implementation-specific stuff.

- asio is header-only;
  iostreams_network requires a DLL to hide platform-specific stuff.

I'll try an run the examples in the next few days. I've been offlist for
a while, getting back on track just now.

--
 Pedro Lamarão

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk