need to send diifreent type of data through sockets
I need to send data of different data types from client to server via socket,,,, i have found that i need to convert data firstly in to byte[] type before sending it and at server reconvert the same ,,, please suggest me some other way out.
Thanks in Advance!
Re: need to send diifreent type of data through sockets
Re: need to send diifreent type of data through sockets
hi,
actually m sending file and then function arguments through same socket connection but in diffrent output streams.( Sending file by fileoutoutstream and arguments by dataoutputstream),,,, but at client end both type of data is being collected in same fileinputstream only and m getting EOFexception ,,, please suggest me how can i resolve this???? Thanks!
Re: need to send diifreent type of data through sockets
its done, using ObjectOutputStream class,,,, Thanks a lot :)