Hi All:
I have a fundamental question on sending data thru sockets.
I have a class, class A { int a; int b;}
I have created an object where i have initialised it to some specific values in my main class. I would now like to send this data to another socket. can i send the contents of the class as a single
unit, or must i break it down n send it byte by byte.
I am currently using out.write()to send data.
Would appreciate the help.
Thanks,
Preetham.