1. Just to be sure, if I use serialization to send structure (with primitive variables) and send the structure to an application which was written in c++, then the other application (in c++) will have problem to read the data ? (because it expect for structure with known fields, and not for a new message (serialize message),
am I write ?
2. If I have a structure which I need to send (via UDP or TCP),
what is the best way too send it ? (and the other side may not be java application) ?
(I want a way which I have same function signature for sending and receiving (via UDP or TCP), How can I do it ?