|
Boost : |
From: Dick Bridges (Dick.Bridges_at_[hidden])
Date: 2005-11-21 11:50:43
Hi Chris,
"Christopher Kohlhoff" <chris_at_[hidden]> wrote in message
news:20051118121202.6477.qmail_at_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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk