$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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).
Niall
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/