Hey everyone,
I’ve got a problem in which if a client calls socket.close(), the server never receives an Exception. The server will only receive an Exception if the client actually quits out – as in System.exit(0).
I’ve also done socket.shutdownInput() & socket.shutdownOutput() on the client end, but to no avail.
On the server end, I’m still able to write to the OutputStream without getting any sort of Exception. Why would an Exception not be thrown if I’m writing to an OutputStream that is supposedly closed at the other end? Any thoughts?