public static void Welcome(Packet _packet) { string _msg = _packet.ReadString(); int _myID = _packet.ReadInt(); Debug.Log($"Message from Server: {_msg}"); Client.instance.id = _myID; //Connected to Server ClientSend.CheckDataBase(); Client.instance.StopDisconnectTimer(); //Client.instance.udp.Connect(((IPEndPoint)Client.instance.tcp.socket.Client.LocalEndPoint).Port); }