Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
       my $ip_address = inet_ntoa($packed_ip);
       print $ip_address, "\n";
    }
    
  2. or download this
    #!/usr/bin/perl 
    
    ...
    foreach(@addrs) {
        print "\t$_\n";
    }