Esempio n. 1
0
        private void ClientMode_OnTunnelClosed(TcpTunnel tunnel)
        {
            Debug.WriteLine("_clientConnections.Remove");
            _clientModeOnlineTunnels.Remove(tunnel);

            var model = (SocketConnectionModel)tunnel.Connection.Tag;

            _serverActiveConnections.Remove(model);
        }
Esempio n. 2
0
 private void ClientMode_OnTunnelCreated(TcpTunnel tunnel)
 {
     Debug.WriteLine("_clientConnections.Add");
     _clientModeOnlineTunnels.Add(tunnel);
 }