
23 Jul
2009
23 Jul
'09
10:33 p.m.
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.