From: Daniel Berger Date: 2008-08-08T22:33:45+09:00 Subject: Re: rb_sys_fail(socket(2)) - errno == 0 On Aug 5, 12:15 pm, "Glen Holcomb" wrote: > 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 It's a busted socket.so in the one click installer I'm afraid (who, in turn, get it from the core team). See http://rubyforge.org/tracker/?func=detail&group_id=167&aid=9438&atid=715 for more information. Works fine when I use a version of Ruby built with VC++ 8. Regards, Dan