Subject: Websocket: Disconnect not fired
Hello!
When an established websocket connection is forcefully closed the Socket::OnDisconnect event is never fired.
(Test conducted by closing the connection with Sysinternals:TcpView)
It only seem to fire when receiving Close message type.
As a result the application still think the connection is good when it isn't.
I've hooked up both XmppClient.OnClose() and Xmpp.Socket.OnDisconnect() in my efforts.
Any suggestion?
RocknRoll
/B
When an established websocket connection is forcefully closed the Socket::OnDisconnect event is never fired.
(Test conducted by closing the connection with Sysinternals:TcpView)
It only seem to fire when receiving Close message type.
As a result the application still think the connection is good when it isn't.
I've hooked up both XmppClient.OnClose() and Xmpp.Socket.OnDisconnect() in my efforts.
Any suggestion?
RocknRoll
/B