Results 1 to 4 of 4
- 10-05-2011, 12:07 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 12
- Rep Power
- 0
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!
- 10-05-2011, 04:02 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,609
- Rep Power
- 5
Re: need to send diifreent type of data through sockets
- 10-10-2011, 12:29 PM #3
Member
- Join Date
- Sep 2011
- Posts
- 12
- Rep Power
- 0
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!
- 10-11-2011, 03:38 PM #4
Member
- Join Date
- Sep 2011
- Posts
- 12
- Rep Power
- 0
Similar Threads
-
Website to pull data from java sockets?
By josephjah in forum Advanced JavaReplies: 2Last Post: 07-24-2011, 07:24 AM -
Data loss when using sockets
By Bear in forum NetworkingReplies: 11Last Post: 07-07-2011, 07:08 PM -
Windows Service sending data to a java app through Sockets?
By JavaInLove in forum NetworkingReplies: 1Last Post: 01-09-2010, 02:16 PM -
how to send any file size using sockets
By amjad.88 in forum NetworkingReplies: 12Last Post: 03-14-2009, 06:46 AM -
how to send files through sockets
By gabriel in forum Advanced JavaReplies: 3Last Post: 01-12-2008, 08:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks