I have a socket where server is in JAVA but Client is in C++.
Struct{
float length;
char[] name;
}myStruct;
How can I convert the structures to a byte stream sent by Server and can be correctly parsed by Client? Any sample code would help! (I heard XML is an option but I am not familiar with it ) Thanks.