I must not have been clear. I got results of 2 and 0 (in $delay1, the time the ping took) with the code above. My problem is that I cannot see how I can get 0 with the timeout set to 2, unless 0 means "no reply" which is what 2 (==timeout) seems to mean.
in reply to Re^3: Net::Ping results question
in thread Net::Ping results question