From: Raul Parolari Date: 2010-07-03T01:50:24+09:00 Subject: Re: Networking: select() blocks for seconds (> timeout) Roger Pack wrote: >> So we have either: >> a) a GC problem >> b) or that to read a packet from a queue, Ruby 1.9.2 makes a reverse dns >> query. >> >> The second is so sad (and so unlike what I have seen from Ruby) that I >> almost prefer the first (although it can't be fixed). > > I don't think it's the second, since 1.9.2 sets > BasicSocket.do_not_reverse_lookup to true by default. > Jruby doesn't yet, though I'm sure they'll get around to it sometime. > -r Yes; I will anyhow use that line (although on the socket instance, not on the class) so that there are no doubts. [ btw: for anyone interested, the test will be done by July 12 or so, as by then I will have my 2nd mac ] Raul Parolari -- Posted via http://www.ruby-forum.com/.