Win a copy of Kotlin in Action this week in the Kotlin forum!
    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: 9428
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!