>make the servlet poll the client at regular interval to see if it is still
alive!
this is not going to work if the client is behind a firewall,
because the servlet will not have the IP of the client.

Filip

~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
[EMAIL PROTECTED]

----- Original Message -----
From: "Stefan Langer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 12:03 PM
Subject: RE: off-topic question - servlet notification


THe only way I know of is to make the servlet poll the client at regular
interval to see if it is still alive!
Create a thread that keeps a live connection to the application client in
your servlet and let it poll your client at regular intervalls. When you
don't get a reply you know the client is down.
Keep in mind that this will have a seriouse impact on your ressources when
you have a lot of connections.
Or you can just have one thread running that polls all clients.

Hope that helps

Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to