From: Stefan Schmiedl Date: 2001-11-19T00:00:37+09:00 Subject: [ruby-talk:25756] Re: Misunderstanding or bug? Hi Dave, we will have to put it into *our* book :-) The problem has something to do with ipv6 support in the 2.4 linux kernel family. so you need to configure ruby with --with-ipv6 --with-lookup-order-hack=INET as described in message ... 21072 of this list. maybe someone should make configure smarter or set those as default ... s. Dave Thomas (2001-11-18 23:24): > > > $ ruby -rsocket -e "TCPSocket.new('localhost','ftp').recvfrom(30)" > -e:1:in `recvfrom': getnameinfo: ai_family not supported (SocketError) > > This happens with ruby 1.6.5 (2001-11-08) and 1.7.2 under a Linux 2.4. > It works fine under 1.7.2 on an older Linux box. > > > Dave -- Stefan Schmiedl EDV-Beratung, Programmierung, Schulung Loreleystr. 5, 94315 Straubing, Germany Tel. (0 94 21) 74 01 06 Public Key: http://xss.de/stefan.public shhhh ... I can't hear my code!