3 Jun
2008
3 Jun
'08
4:58 p.m.
Hi, I was wondering if anyone has any experience or knows off the top of their head if it is possible (or even sensible) to use the boost.circular_buffer class as the underlying buffer for boost.asio socket reads and writes? I.e. boost::circular_buffer<char> cb (1024); bytes_transferred = sock.read (boost::asio::buffer (cb)); Similarly with write(). Regards, Jim -- James Vanns Systems Programmer Framestore CFC Ltd.