Example #1
0
        static void Main(string[] args)
        {
            Client client = new Client();

            Protocol.Server.Register.ServerRegisterIdGenerater.GenerateId();
            client.Init("127.0.0.1", 8880);
            client.BindResponse();
            client.Connect2Server();

            while (true)
            {
                client.Update();
            }
        }