|
Boost : |
From: Jonathan Biggar (jon_at_[hidden])
Date: 2005-03-12 20:54:38
Aaron W. LaFramboise wrote:
> Perhaps a reason that noone has designed a really great sockets library
> yet is that there is little practical reason to, as BSD sockets is
> probably more portable (from a practical standpoint) than a Boost
> library will ever be, and libraries try to that "abstract" it have done
> nothing but get in the way.
Sockets themselves aren't that big a deal. The abstraction won't add a
lot there, except for stuff like translating addresses from
human-readable form to what is used by the sockets interface.
The key functionality of a sockets library will be the dispatch
mechanism. Something that streamlines how blocking/non-blocking mode
interacts with select/poll/devpoll/windows events and a threaded vs
reactive model will be highly valuable. Particularly if library allows
the choices to be changed without affecting much/any of the code.
-- Jonathan Biggar jon_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk