Ok... That code is the server... the client(of which there can be as
many as you like...thousands) is running a different program...
I wan't to find out if the client is still connected on the other end.
Thats what this part of the code is all about:
/*30*/ if(/*find out if client has disconnected*/)
/*31*/ {
/*32*/ removeConnection(i);
/*33*/ }
is there some kind of method in java.net.Socket that can figure out if
the client has disconnected?
I've tried quite a few methods, but none of them seem to work.