public void SecondTimer() { // timers Cache.SecondTimer(); TcpControl.SecondTimer(); UdpControl.SecondTimer(); RudpControl.SecondTimer(); LightComm.SecondTimer(); UPnPControl.SecondTimer(); Routing.SecondTimer(); Searches.SecondTimer(); if (!IsLookup) { CheckLookupProxyMode(); } CheckConnectionStatus(); // established in dht if (FireStatusChange > 0) { FireStatusChange--; if (FireStatusChange == 0) { Established = true; FireStatusChangeEvent(); } } }