deSerialize(Packet p1, Packet p2){ // Version 1 using stringstreams<...>boost::archive::text_oarchive oa(serialized[0]); oa << p1;<...>//deserialize CCNDataPkt newPacket;<...>ia >> newPacket; // throws boost::archive::archive_exception: invalid signature.It looks like you serialize one type and deserialize another one, don't you? _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users