private void SendPing() { lastPingSentNs = DateTime.UtcNow.Nanos(); RequestHeader h = new RequestHeader(-2, (int)OpCode.Ping); conn.QueuePacket(h, null, null, null, null, null, null, null, null); }
private void SendPing() { lastPingSentMs = CurrentSystemMs; RequestHeader h = new RequestHeader(-2, (int)OpCode.Ping); conn.QueuePacket(h, null, null, null, null, null, null, null, null); }