Help for this page

Select Code to Download


  1. or download this
    use IO::Socket;
    
    ...
    my @hosts = ($first..$last);
    
    for ($li=0;$li<=$#hosts;$li++){ &scan() }
    
  2. or download this
    sub scan {
        $host = "$net.$hosts[$li]";
    ...
        }
    close($socket);
    }