SocketChannels remain connected even after the other side has closed

AFB

Lifer
Jan 10, 2004
10,718
3
0
I am using telnet to test it out. I telnet in and it works find, but it always says I'm still connected on the other side. I can even call isConnected(); on the channel and it still returns true. You need Java 1.5 to compile this since I am using BlockingQueue and Generics. You can find the precompiled versions at http://files.amdfanboy.com under JChat.