示例#1
0
        static void Main(string[] args)
        {
            ClientWorker worker = new ClientWorker();

            worker.Start();

            Console.ReadLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Client - json");
            ClientWorker client = new ClientWorker(ServerPort);

            client.Start();


            // just wait so I can read the terminal window
            Console.ReadLine();
        }