Glen Holcomb
8/5/2008 6:16:00 PM
[Note: parts of this message were removed to make it a legal post.]
That is the error message I get when I try either of these methods for
creating an ICMP packet:
socket = Socket.new(Socket::PF_INET, Socket::SOCK_RAW, Socket::IPPROTO_ICMP)
or
with net-ping
icmp = Ping::ICMP.new('machine_name')
icmp.ping?
I am on Windows XP. The account I'm logged in as has local administrator
rights.
What I'm trying to do is check to see if a system is up before I try and
make a WIN32OLE connection to it as they take forever to time-out
--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)