For some reasons that my websocket_closed event is called. Is there a way to debug why the FireClosed is called?
Here is the call stack:
WebSocket4Net.dll!WebSocket4Net.WebSocket.ClientClosed(object sender, SystemEventArgs e)
WebSocket4Net.dll!SuperSocket.ClientEngine.SslStreamTcpSession.OnDataRead(System.IAsyncResult result) + 0xd7 bytes
My guess is the WebSocket received something that doesn't expect. Any ideas?