Help for this page

Select Code to Download


  1. or download this
    
    PING www.google.com (173.194.34.144) 56(84) bytes of data.
    ...
    64 bytes from lhr14s21-in-f16.1e100.net (173.194.34.144): icmp_seq=4 t
    +tl=57 time=199 ms
    64 bytes from lhr14s21-in-f16.1e100.net (173.194.34.144): icmp_seq=5 t
    +tl=57 time=69.4 ms
    
  2. or download this
        my $p = Net::Ping->new("tcp", 2);
        # With or without this next line.
    ...
            return 0;
        }