$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: james.vanns_at_[hidden]
Date: 2008-06-03 12:58:26
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.