Boost logo

Boost Users :

Subject: [Boost-users] xml_oarchive to a iostream
From: Sillence, Martin (GE Oil & Gas) (Martin.Sillence_at_[hidden])
Date: 2011-07-07 07:00:32


Am I missing something or is there no way to serialise to a network

Using the blocking method for sending and receiving I have a
boost::asio::ip::tcp::iostream and need a boost::archive::xml_oarchive
to serialise to/from unfortunately I can't work out how to create a
xml_oarchive from the network iostream.
I see from the examples most people are serialising to a buffer and then
sending that but it would be much neater to be able to use a stream
Am I missing something or is this a gap?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at