From: nobu.nokada@... Date: 2002-05-28T13:43:42+09:00 Subject: Re: Possible Bug in Ruby? Hi, At Mon, 27 May 2002 07:01:43 +0900, Florian Frank wrote: > 4. The host is not reachable because it is not on the wire. In this case > the connection times out and the socket s is nil and thus cannot > be closed. This would be ok but if you use a program like lsof or fstat > and type "lsof -p $PID" or "fstat -p $PID" you can see that the socket > is in fact opened. It doesn't seem possible to close it anyhow from within > this script. > > I don't know where the problem lies but I don't think it has something > to do with timeout.rb but with the thread it uses. Does somebody > have an idea how to fix this? Read the thread from [ruby-talk:37308]. -- Nobu Nakada