public void Pong(PongPacket pkt)
 {
     if (lastTime != null && (pkt.Time - lastTime.Value > 3000 || pkt.Time - lastTime.Value < 0))
         ;//psr.Disconnect();
     else
         lastTime = pkt.Time;
     tickMapping = ts.Dequeue() - pkt.Time;
     lastPong = pkt.Time + tickMapping;
 }
 public void Pong(PongPacket pkt)
 {
     if (lastTime != null && (pkt.Time - lastTime.Value > 3000 || pkt.Time - lastTime.Value < 0))
     #pragma warning disable 642
         ; //psr.Disconnect();
     #pragma warning restore 642
     else
         lastTime = pkt.Time;
     tickMapping = ts.Dequeue() - pkt.Time;
     lastPong = pkt.Time + tickMapping;
     sentPing = false;
 }