dcsimg
How could I know if the client side was diconnected abnormally?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Leon_Wan
Posted On:   Friday, March 29, 2002 11:40 PM

I am trying to write a simple internet game. So I need to know how many guys are in the game. If a guy quit the game abnormally, How could I check the status of connection with JSP?

Re: How could I know if the client side was diconnected abnormally?

Posted By:   Luigi_Viggiano  
Posted On:   Saturday, March 30, 2002 10:38 AM

Browser don't ask "help!" when they crash :-). You may assume that when the session expires. That's all for JSP. If you use socket you may check client's connection sending some acknowledge bytes, then checking for exception and waiting for the response.
About | Sitemap | Contact