public static void Welcome(Packet packet) { string msg = packet.ReadString(); int myId = packet.ReadInt(); Debug.Log($"Message from server: {msg}"); Client.Instance.myId = myId; ClientSend.WelcomeReceived(); Client.Instance.udp.Connect(((IPEndPoint)Client.Instance.tcp.socket.Client.LocalEndPoint).Port); }