Help(Handling Data Through Streams)
posted 7 years ago
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".