C++ – What are the possible ways to exchange data in binary format between windows and solaris

c++, endianness, serialization, swap

Could someone please help and tell me if there is any possible way to pass a data structure (i.e. binary format) through internet sockets between a program running on Windows and other program running on Unix?

Any idea or link to materials that deal with it would be very appreciated. Thanking you in advance for your help,
Mk

Best Solution

Check out Google's protocol buffers as a fast way of serializing data.