Example #1
0
        static void Main(string[] args)
        {
            // UdpSocket.ConnectServer("dztest.runfagame.cn", 55561);
            UdpSocket.ConnectServer("127.0.0.1", 8880);

            SendProto.CliEnterRoom(1, "坦克大战");
            Console.ReadKey();
        }
Example #2
0
 protected override void CliEnterRoom(CliEnterRoom msg)
 {
     // Program.server.Send(SendProto.Serialize(SendProto.SrvEnterRoom(1)));
     SendProto.SrvEnterRoom(1);
 }