示例#1
0
        static void Main(string[] args)
        {
            IWServerIP ipServer = new IWServerIP(1500);
            IWServerLog logServer = new IWServerLog(3005);

            Thread ipThread = new Thread(new ThreadStart(ipServer.Start));
            Thread logThread = new Thread(new ThreadStart(logServer.Start));

            ipThread.Start();
            logThread.Start();

            Console.Read();
        }
示例#2
0
        static void Main(string[] args)
        {
            IWServerIP  ipServer  = new IWServerIP(1500);
            IWServerLog logServer = new IWServerLog(3005);

            Thread ipThread  = new Thread(new ThreadStart(ipServer.Start));
            Thread logThread = new Thread(new ThreadStart(logServer.Start));

            ipThread.Start();
            logThread.Start();

            Console.Read();
        }