I’m looking for a way to serialize data that is represented as C/C++ struct/classes.

The final goal is to develop a mechanism that will convert my objects to a binary format so I could send them via network and then recreate… Something like MFC's Serialization support, but less complecated...

I’m thinking about using XML to convert the objects to strings. I hope there is a code somewhere that already does something like that…

Please Help!!!