Question regarding TCP Connection Forcefully shut down.

Posted by Tara Singh on Stack Overflow See other posts from Stack Overflow or by Tara Singh
Published on 2010-04-15T01:07:09Z Indexed on 2010/04/15 1:13 UTC
Read the original article Hit count: 622

Hi All,

I am designing a Client Server Chat application in Java which uses TCP connection between them. I am not able to figure out how to detect at server side when a client forcefully closes down. I need this as i am maintaining a list of online clients and i need to remove user from the list when he forcefully closes the connection.

Any help will be highly appreciated.

Thanks

Tara Singh

© Stack Overflow or respective owner

Related posts about sockets

Related posts about serversocket