示例#1
0
        public void Main()
        {
            TCPclients client  = new TCPclients();
            var        connect = Task.Run(() => Connect());

            connect.Wait();
        }
示例#2
0
        static void Main(string[] args)
        {
            TCPclients duh = new TCPclients();

            duh.Main();
            Console.ReadKey();
        }