private void ClientMode_OnTunnelClosed(TcpTunnel tunnel) { Debug.WriteLine("_clientConnections.Remove"); _clientModeOnlineTunnels.Remove(tunnel); var model = (SocketConnectionModel)tunnel.Connection.Tag; _serverActiveConnections.Remove(model); }
private void ClientMode_OnTunnelCreated(TcpTunnel tunnel) { Debug.WriteLine("_clientConnections.Add"); _clientModeOnlineTunnels.Add(tunnel); }