From: Daniel Berger Date: 2009-08-14T07:01:43+09:00 Subject: Re: How to make net-ping thread safe? On Aug 13, 2:41 pm, Joel VanderWerf wrote: > Daniel Berger wrote: > > ... > > > Very late reply here. > > Hi, Daniel, > > Found the original and dusted it off... > > http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/294693?... > > > Odd. When I ran nearly identical code it worked as expected. However, > > when applied Joel's patch it didn't work right - it reported all hosts > > as off. Not sure why. > > Will take a look on linux first. (This is not code I've used, but I'm > curious...) > > > That was on OS X 10.4.9 with Ruby 1.8.6-368 btw. > > I'll try there too. > > What were the target hosts? OS X, too? Yeah, I just ran it against 192.168.0.1 (exists), 192.168.0.2 (exists), and 192.168.0.3 (does not exist). Regards, Dan