示例#1
0
        private static void Run(Options options)
        {
            //Checking input errors
            try
            {
                IpRange   = IpRange.Parse(options.IpRange);
                PortRange = PortRange.Parse(options.Ports);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }

            Worker.Work(IpRange, PortRange, options.timeOut);
        }