[1.7] getaddrinfo


(ts) #1

ruby really don’t like getaddrinfo()

pigeon% ruby -rsocket -ve 'p Socket.sockaddr_in(21, “moulon.inra.fr”)‘
ruby 1.7.2 (2002-06-18) [i686-linux]
-e:1:in `sockaddr_in’: getaddrinfo: Servname not supported for ai_socktype (SocketError)
from -e:1
pigeon%

and don’t try to compile it with --with-lookup-order-hack, because this
will be worst.

Guy Decoux