Boost logo

Boost Users :

Subject: Re: [Boost-users] Other tcp stream examples? suggestion about asio examples... Re: usage of boost::asio::async_write and boost::asio::buffer
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-23 18:33:48


> Thanks to Igor's pointing to streambuf I realized availability of stream
> operations.
> I think for many newbies, stream examples would be easier to
> understand/reuse.

You mean ip::tcp::iostream (note that it's unrelated to streambuf)?
It's rather limited facility. You can use it for some very simple
tasks, but if you need a scalable solution with multiple connection,
timeouts etc, you'll unavoidably find yourself dealing with async.
i/o.


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