From: matz@... (Yukihiro Matsumoto) Date: 2003-09-29T08:15:00+09:00 Subject: Re: TCPSocket.gethostbyname difficulties Hi, In message "Re: TCPSocket.gethostbyname difficulties" on 03/09/29, James Britt writes: |Out of curiosity, I just tried the above, on my Win2k laptop, running |/\ndy's 1.8 build: | |C:\>ruby -v |ruby 1.8.0 (2003-08-04) [i386-mswin32] | |C:\> ruby -r socket -e 'p TCPSocket.gethostbyname("noblepack.com")' |-e:1:in `gethostbyname': host not found (SocketError) | from -e:1 | |However, I can ping that location just fine. Hmm, might be Win32 specific problem. Does stopping reverse lookup make any difference? Socket.do_not_reverse_lookup = false matz.