Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] multiple simultaneous async_read calls
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-08-10 18:52:56

On 7 Aug 2014 at 23:11, Lee Clagett wrote:

> unfortunately, the system call doesn't take the user buffer and notify when
> its been filled. That seems ideal, but maybe someone like Nial could
> explain the difficulties of such an implementation at the OS level.

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).


ned Productions Limited Consulting

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