
On 11/4/05, Caleb Epstein <caleb.epstein@gmail.com> wrote:
On 11/4/05, Victor A. Wagner Jr. <vawjr@rudbek.com> wrote: I like the approach these guys are taking: http://www.dtilib.dk/
that actually would be 3 libraries, but I like them all.
This project includes a C++ socket library, a library for doing async I/O operations with IOStreams and another for database access. The designs appear to be clean and simple.
The socket library doesn't seem to support non-blocking sockets or any sort of I/O multiplexing on its own, so it is not nearly as complete as ASIO. As far as sockets are concerned, layering on asynchronous operations at the IOStreams level is a mistake IMHO. These concepts need to be supported at the lowest levels of the library because some applications require them.
Agree with all these comments. I came across dtilib via the article in the October issue of CUJ. I think ASIO provides the full-blown async solution but there could be a need for an iostreams network solution (but not async?) which main benefit would be the ease of use (not performance). One thread today proposed such library.