R
Ranjit
Hi,
I am trying to figure out a way to have a Java client talk to a C++
server. I can open a connection with the server and the simple test
works fine. However I am not sure how to pass the Java types, viz.
ints/shorts/String to the server so that the server can recognize it in
the C++ corresponding types (int/short/char[]).
I read on the net that the DataOutputStream searializes the basic types
into network byte order which can then be understood by the C++ server.
However that doesn't seem to work. Am I missing something?
TIA,
Ranjit
I am trying to figure out a way to have a Java client talk to a C++
server. I can open a connection with the server and the simple test
works fine. However I am not sure how to pass the Java types, viz.
ints/shorts/String to the server so that the server can recognize it in
the C++ corresponding types (int/short/char[]).
I read on the net that the DataOutputStream searializes the basic types
into network byte order which can then be understood by the C++ server.
However that doesn't seem to work. Am I missing something?
TIA,
Ranjit