Bookmark Topic Watch Topic
  • New Topic

Help(Handling Data Through Streams)  RSS feed

 
Thabo Matjuda
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey Guys. Okay. I have a question regarding reading from server. What does it mean when in a Multi-Client Server, a client sends a request, the server recieves the request, proceses it and then echos it back. The problem is that when it sends data my client doesn't see it. I get "ArrayIndexOutOfBoundsException". I used "String fromServ = in.readLine()" to read from Server, but it prints out "0".
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
PatienceIsAVirtue
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!