boost.asio with boost.circular_buffer possible?

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.
6165
Age (days ago)
6165
Last active (days ago)
0 comments
1 participants
participants (1)
-
james.vanns@framestore.com