Boost Users :
Subject: Re: [Boost-users] ASIO async I/O with iostream?
From: Igor R (boost.lists_at_[hidden])
Date: 2009-12-09 14:18:12
> I'd like to be able to skip the buffer and just read directly to the stream
> with an event to notify me of the arrival of data.
You can use asio::streambuf. It inherits std::streambuf, and you can
use it with istream and ostream, just as you do with standard
streambufs. But note that any buffer must outlive the async.operation.
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