http://qs321.pair.com?node_id=1115944


in reply to icmp socket error

From the Net::Ping documentation:

Specifying the "icmp" protocol requires that the program be run as root or that the program be setuid to root.

Therefore the supposition is that you are not doing that (or its equivalent under MSWindows, whatever that might be).