• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading byteArray at Client side  RSS feed

 
Amee Dabo
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am supposed to read byteArray from socket on client side.
I checked the same various ways using InputStreamReader.Data is getting passed to the server but client is just not able to read the data which is sent by the server in byte array.
Can you please help?

Thanks in advance,
Ameeta
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Martin Simons
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just like you used ObjectOutputStream to write your ByteArray in your
previous post, you would use ObjectInputStream to read the ByteArray.
 
Amee Dabo
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot..
Problem is solved..
Now I have another prob which I have written under new thread
"Reading data from server at client side asynchronously (nonblocking) "
Will you please help for teh same?

Thanks,
Ameeta
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!