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

            server.Open();
            Console.WriteLine($"Started: port {server.Port}");

            Console.ReadKey();
            server.Close();
            Console.WriteLine("Closed.");
        }