private void OnPingReceived(RTPacket p) { if (p.Data == null) { return; } var r = p.Data.GetInt(1); var t = p.Data.GetLong(2); if (r == null || t == null) { return; } OnLogEntry(LogEntryFactory.CreatePingReceivedLogEntry(new PacketDetails(p))); SendPongpacket((int)r, (long)t); }