Provided two applications on different platforms use protobuf to serialize data structures in/from UDP datagrams by SerializeToArray
/ParseFromArray
use same .proto definitions with line
syntax = "proto2";
Should all platform have same version of protobuf library or is there compatibility between v.2 and v.3?
Variants of platforms:
- Windows 32-bit applications, statically linked v.2.5, MSVC 2010 (legacy application)
- Windows 64-bit applications, statically linked v.3.2, MSVC 2017
- Windows 64-bit applications, statically linked v.2.5, MSVC 2017
- Linux 64-bit, shared library v.2.4, gcc 4.7 C++11
- Linux 64-bit, shared library v.2.5, gcc 8.3 C++14
- Linux 64-bit, shared library v.3.2, gcc 8.3 C++14
PS. Is there any difference between 32bit and 64bit too?