コード例 #1
0
 static void test11()
 {
     Class3.Test("n");
     Class3.Test("m");
     Class3.Test("d");
     Class3.Test("aaa");
 }
コード例 #2
0
        static void Main(string[] args)
        {
            //Class1 c1 = new Class1();
            //c1.Main();

            //TCP_Server c1 = new TCP_Server();
            //c1.Main();
            //SocketServiceWuZi socketWuZi = new SocketServiceWuZi();
            //socketWuZi.Start();
            //SocketService socket = new SocketService();
            //socket.Start();
            Class3 socket = new Class3();

            socket.Start();

            //Timer timer = new Timer(600000-30);
            //timer.AutoReset = true;
            //timer.Enabled = true;
            //timer.Elapsed += new System.Timers.ElapsedEventHandler(aaaa);
            Console.ReadLine();
            //Console.WriteLine("1:聊天,2:五子棋");
            //switch (Console.ReadLine())
            //{
            //    case "1":
            //        SocketService socket = new SocketService();
            //        socket.Start();
            //        break;
            //    case "2":
            //        SocketServiceWuZi socketWuZi = new SocketServiceWuZi();
            //        socketWuZi.Start();
            //        break;
            //    default:
            //        break;
            //}
        }