users@glassfish.java.net

Glassfish & Comet: catching client abnormal disconnection

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Apr 2009 07:41:42 PDT

Hello there,

We have a simple Comet application running on glassfish v2 (with Grizzly 1.0.20), implementing a turn-based game, over http.

Amongst our main concerns, we must "catch" abnormal disconnections (player close its client, network failure, etc.) when they happen, in order to mark the player as "out".

What would be the best strategy for that ? Is that even possible ?

Thanks for your help,

Fabien
[Message sent by forum member 'fabien_b' (fabien_b)]

http://forums.java.net/jive/thread.jspa?messageID=342429