The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

How to identify that client has logged off

Posted by Mohan Raj on May 28, 2001 at 7:35 AM

> u can send the message to the client at constant interval of time
> when the client does not accept the msg u catch the exception.
> and u remove the client socket from server side


I am writting a chat programe i want to find when client logged off and i want to remove the client from hashtable.How to find out that client loggedoff.At server side i am not getting any socket exception.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us