
Avi Bahra wrote:
Currently I have built a client/server that uses ASIO with boost serialization. I built one set with boost 1.45 and another with boost 1.47
However:
o start boost 1.45 server o ping using 1.47 client
I get a boost::archive::archive_exception unsupported version
o start boost 1.47 server o ping with boost 1.45 client
Again I get a boost::archive::archive_exception unsupported version
Given that there was no change in format of the ping, is this bug or feature ? Is there any way of disabling this feature of the archive , so exception is only thrown when there is format change?
Any help appreciated.
Ta, Avi
You might not have changed the format of your data types. But your data types are built upon more primitive built-in ones. There is no guarentee that an archive created in a subsequent version will be readable by a previous version of the library. Robert Ramey