[xSocket-develop] OnDisconnect is not being called in multiplex scenario
Status: Inactive
Brought to you by:
grro
|
From: Bhatnagar, V. (Ved) <vbh...@av...> - 2009-03-23 23:49:49
|
Hi, We are running a prototype to further our understanding of xScoket library. We are stuck in disconnect scenario testing. We have a simple Multiplexed client and a simple Multiplexed server using pipelines( code copied from samples provided in documentation). We are trying to see how to handle disconnects in following three scenarios. 1. Client does graceful close on pipeline. This Scenario is working as Server protocol handler invokes OnDisconnect for the correct pipeline. 2. Client crashes ( we kill the client JVM) .. This scenario is not working as Server protocol handler does not invoke any callbacks. 3. Network cable is unplugged between client and server. We have not yet tested it. Please advise as to how to handle such scenarios. Thank you, Ved / Bobby |