From: matz@... (Yukihiro Matsumoto) Date: 2002-07-18T00:39:40+09:00 Subject: Re: Patch to stop TCPSocket.new blocking on DNS lookups Hi, In message "Re: Patch to stop TCPSocket.new blocking on DNS lookups" on 02/07/18, Matthew Bloch writes: |> Have you looked at ADNS (GPL license) or cURL resolver ? | |I have, but these would require larger architectural changes to the socket |library which I don't really have time to do. Then have you looked at resolv-replace.rb ? It replaces name lookup by pure Ruby name resolver. No need to change your programs. It doesn't block (since Ruby's thread is preemptive at Ruby level), but may be too slow (since its all written in Ruby). matz.