matz / netlab.co.jp (Yukihiro Matsumoto) writes: > > |> p TCPsocket.getaddress('localhost') > |>returns > |> "::ffff:127.0.0.1" > > | which operating system are you using? > > I think he is using Linux box. The output from extconf.rb would help. > Try > > cd ext/socket > ruby extconf.rb dave[ext/socket 22:18:59] ruby extconf.rb checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for netinet/tcp.h... yes checking for netinet/udp.h... yes checking for getaddrinfo()... yes checking for getnameinfo()... yes checking for sys/un.h... yes checking for socket()... yes checking for hsterror()... no checking for gethostname()... yes creating Makefile