Re: [asio-users] thread-safe async_write with streambuf
Brought to you by:
chris_kohlhoff
From: Rutger t. B. <ru...@te...> - 2009-06-12 16:17:02
|
Daniel Casimiro wrote: > You can also use a pair of asio::streambuf objects to double buffer > your sends. Copy the data into one of the streambufs while the other > is being flushed to the network. Additionally, it gives you a > convenient place to serialize the data before transmission. This is exactly what I ended up with, Kind regards, Rutger |