Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

A proposal for improvements to Net::Ping

by Falkkin (Chaplain)
on Mar 10, 2001 at 01:08 UTC ( #63364=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    pingecho() or a ping object with the tcp protocol use alarm() to
    implement the timeout.  So, don't use alarm() in your program while
    you are using pingecho() or a ping object with the tcp protocol.  The
    udp and icmp protocols do not use alarm() to implement the timeout.
  2. or download this
    $p = Net::Ping->new();
    $p->ping(\@list_of_hosts, $timeout, $num_forks);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://63364]
Approved by root
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours
[stevieb]: battery was at about 95% capacity when the test began
[stevieb]: in the meantime while it was on battery, I got my shift register issues fixed, as well as certain interrupt issues

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-03-26 15:23 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.