public static void Welcome(int toClient, string msg) { using (Packet packet = new Packet((int)ServerPackets.welcome)) { packet.Write(msg); packet.Write(toClient); Server.StartPingTest(); SendTCPData(toClient, packet); } }