Esempio n. 1
0
        protected override void OnException(Exception exception)
        {
            if (Running) // If it was running then it was unexpected exception
            {
                _server.OnClientDisconnected(Client, exception);
            }

            ShutdownConnection();
        }
Esempio n. 2
0
 protected override void OnDisconnected(Exception exception)
 {
     _server.OnClientDisconnected(Client, exception);
 }