Help for this page

Select Code to Download


  1. or download this
    for ($i = 0; $i <= 65535; $i++) {
      print "port $i\n";
      system "this takes 45 seconds to timeout";
    }
    
  2. or download this
    for ($i = 0; $i <= 65535; $i++) {
      print "port $i\n";
    ...
      sleep 2;
      kill ('INT', $$);
    }