Hi, I need to connect a J2ME client to a C# server to send and receive some data.
I'm using sockets and can correctly connect.
My question is if is there a way I can send a structure between da java client and the c# server.
I will need to send several structures from the client to the server.
I do not want to use webservices as it requires to establish connection every time and because of the overhead.
All data (several structures) will be periodically sent to the server at the same time using one socket allowing to maintain the connection for sending all data.
The structure consists of some integers and a stream of bytes which contains sound previously recorded.
I could use xml and parse it but is there another and better way?
Thanks and regards.