From: Daniel Berger Date: 2008-08-08T23:54:43+09:00 Subject: Re: rb_sys_fail(socket(2)) - errno == 0 On Aug 8, 7:33 am, Daniel Berger wrote: > 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). > > Seehttp://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 Ignore this dupe. Submitting replies via the Google groups interface is seriously messed up. Lately about a third of my posts never arrive, another third show up several days later (as this one did), with the final third actually posting in a timely manner. Dan