
21 Nov
2005
21 Nov
'05
4:50 p.m.
Hi Chris, "Christopher Kohlhoff" <chris@kohlhoff.com> wrote in message news:20051118121202.6477.qmail@web32602.mail.mud.yahoo.com...
Hi Dick,
[snip]
Your comments resulted in a small amount of inspiration :) The _at_least_n functionality has been retained in 0.3.5 through an additional function object argument to asio::read()/write() etc. In practice this means that where you used to write:
asio::read_at_least_n(s, bufs, 42, handler);
you now write:
asio::read(s, bufs, asio::transfer_at_least(42));
Cheers, Chris
Excellent. Thanks - a *lot*. I hope, nay, assume the addition applies to async_read() as well.