Detect "interrupted" connections
I wrote a HTTP-chatserver with NIO and search for a solution to detect, if the PC from a user is crashed or his ADSL connection will be-reconnected. In this case channel.read() does not return -1 and throws no exception, channel.write(),
too.
My idea, i could send a ping to the users pc...but this solution is not the best, i think. Any ideas?
TheChief

