in reply to why doesn't Net::ping work when native ping does?
By default, Net::Ping uses the 'tcp' method. Which means it tries to connect to the targets echo port (7). This is frequently disabled.
The 'icmp' method uses an entirely different mechanism which is less frequently blocked.
|
|---|