I am getting the following error trying to read from a socket. I\'m doing a readInt() on that InputStream, and I am getting this error. Perusing th
readInt()
InputStream
I had the same error. I found the solution for problem now. The problem was client program was finishing before server read the streams.