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.
In reply to Re: why doesn't Net::ping work when native ping does?
by BrowserUk
in thread why doesn't Net::ping work when native ping does?
by markseger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |