Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] multiple simultaneous async_read calls
From: Lee Clagett (forum_at_[hidden])
Date: 2014-08-11 08:56:58

On Sun, Aug 10, 2014 at 6:52 PM, Niall Douglas <s_sourceforge_at_[hidden]>
> I'd ask a simpler question: what use case is there for configuring
> multiple concurrent async reads on the same stream?
> On *files*, yes this makes sense. But on sockets/pipes etc, the use
> cases are not many (possibly with UDP yes, otherwise no).
> Niall
If you want to queue up multiple reads at a time (data to different
buffers), having the framework handle it (ASIO or OS) is easier than
writing that portion yourself.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at