Re: [boost] Iostreams and Network [asio]

Hi JD, JD wrote:
And also, is there any attempt to write a Source/Sink to read and write from shared memory?
Currently there is http://www.boost.org/libs/iostreams/doc/classes/mapped_file.html. While I have been away from Boost, the Interprocess library has been accepted, providing sophisticated support for shared memory and memory mapped files. I am planning to write devices to access the functionality of the Boost.Interprocess for 1.36.
JD
Hi,
Iostreams documentation states: "For example, Boost.Iostreams can be used to create streams to access TCP connections". Is there any such attempt to create a TCP/IP communicating Source/Sink couple? I know asio is doing this, but I was looking for an pure Iostreams solution.
Currently there are no devices for TCP/IP communications. I am planning to implement blocking TCP/IO devices using asio for 1.36, but I also hope at some point to achieve a better degree of integration. Standard iostreams are not a very good way to access network connections, since they are designed for blocking i/o; however, Boost.Iostreams is also intended as a framework for filtering, and I was careful to design filter concepts that would work with asynchronous and non-blocking devices. When Boost.Asio was proposed, I was looking forward to the possibility of introducing asynchronous and non-blocking device concepts to make the libraries work together, but unfortunately I became so busy that I was not able to participate in the review process or collaborate with Chris Kohlhoff in the subsequent development of the library. Now that I have more time I am committed to trying to make the two libraries work together as much as possible.
Regards,
JD
-- Jonathan Turkanis CodeRage http://www.coderage.com
participants (1)
-
Jonathan Turkanis