public static void Pong(byte[] packet, SocketClient sockstate) { UInt32 Time; UInt32 Count; CMSG_PING cpkt = (CMSG_PING)packet; Count = cpkt.Count; Time = cpkt.Time; SMSG_PONG spkt = new SMSG_PONG(Count, Time); sockstate.Client.PacketQueue.Enqueue(spkt.Stream); }