ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
I’m also running on windows vista, but I don’t know if this is an
issue on the overall mswin32-x86 platform.
I’m getting an error when trying to recvfrom on a TCP Socket. The
code looks as follows:
listen_socket = TCPSocket.new(“127.0.0.1”,5000)
(data,host) = listen_socket.recvfrom( 1024 )
running this code (it’s in my unit test) yields:
SocketError: getnameinfo: ai_family not supported.
Any idea why this might be occurring? Is it due to something related
to IPv6 support?