예제 #1
0
파일: UDPTunnel.cs 프로젝트: gwupe/Gwupe
 private void StartPinger()
 {
     _pingFailCount = 0;
     _pinger = new Pinger(Id);
     _pingTimer = new Timer(this.PingPeer, this, PingIntervalMilliseconds, PingIntervalMilliseconds);
 }
예제 #2
0
파일: UDPTunnel.cs 프로젝트: gwupe/Gwupe
 private void StartCheckerForPings()
 {
     _lastPing = DateTime.Now.Ticks;
     _pingFailCount = 0;
     _pinger = new Pinger(Id);
     _pingTimer = new Timer(this.CheckForRecentPing, this, PingIntervalMilliseconds, PingIntervalMilliseconds);
 }