$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Using boost::asio::async_write to stream out data
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-23 09:55:11
> So, doing this is not allowed:
>
> async_write( socket, ... );
> async_write( socket, ... );
It's allowed, but the received might get "blended" data.
> Instead, I have to queue the 2nd buffer until the first write is done?
Yes.