From: Michel André (michel.andre_at_[hidden])
Date: 2005-04-22 06:13:15
Iain Hanson wrote:
> On Fri, 2005-04-22 at 12:42 +0300, Peter Dimov wrote:
>>Rationale: buffer management is a pain with multiple callbacks active ;-)
> This would give a significant performance hit as there will now be two
> copies of the data. The 1st from kennel space to the library and the
> second in the callback from the library to the user.
And in some cases setting the buffer sizes of the socket to 0 will also
remove the buffering in the kernel and only use usermode buffers. And
making to many choices on memory and thread managment isn't a good idea
in a general purpose networking library.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk