|
Boost Users : |
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net