|
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
Hi,
Am I missing something or is there no way to serialise to a network
stream?
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
directly.
Am I missing something or is this a gap?
Thanks,
M
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