From: noreply@... Date: 2007-03-06T04:28:31+09:00 Subject: [ ruby-Bugs-9061 ] Windows Vista: recvfrom causes exception Bugs item #9061, was opened at 2007-03-05 19:28 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9061&group_id=426 Category: Standard Library Group: 1.8.5 Status: Open Resolution: None Priority: 3 Submitted By: Bram Whillock (bramski) Assigned to: Nobody (None) Summary: Windows Vista: recvfrom causes exception Initial Comment: >ruby -v 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. ./lib/juggernaut.rb:42:in `recvfrom' Any idea why this might be occurring? Is it due to something related to IPv6 support? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9061&group_id=426