recvfrom broken on mswin32?

B

bramski

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?
 
A

Austin Ziegler

Anybody out there? I don't want this to get too buried.

22 hours is not enough time to warrant a bump.

If you suspect a Ruby bug, I suggest raising the issue on ruby-core (a
lower traffic environment) or just filing a bug report on the
Rubyforge project.

-austin
 
B

bramski

Okay, where is the ruby-core discussion? I see a read-only forum on
ruby-form.org.
 
A

Austin Ziegler

Okay, where is the ruby-core discussion? I see a read-only forum on
ruby-form.org.

Try going to ruby-lang.org; you'll be introduced to the mailing lists.

-austin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,244
Members
46,839
Latest member
MartinaBur

Latest Threads

Top