in reply to net::ping not working for windows hosts

I'm not quite sure what you mean here, but the if the windows boxes you're looking at have firewalls, they're likely to not show up on ICMP pings -- most windows firewalls seem to block them by default. Then again, so does Linksys' firewall. As to port 2, I don't happen to recall what it is, but doubt windows has a daemon answering on it by default, which could explain it.

Update: I'm informed (by gjb, thanks) that the 2 isn't a port number, it's a timeout.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

  • Comment on Re: net::ping not working for windows hosts