I have a java client and a c server
I am trying to use object serialization
to send the object to the server over the socket
The problem is that the data received by server
is all junk.
The client code is as follows:
class Test implements Serialization
Test obj = new Test("hello" ,20);
clientSocket = new Socket(host, portNo); //open a socket
outSock = new DataOutputStream (
out = new ObjectOutputStream(outSock);
when I debug and see the value received by the server
it is all junk
what am i missing?