Forum: Ruby recvfrom broken on mswin32?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9cace61bc2a5972d44d5e1a1b8c145af?d=identicon&s=25 bramski@gmail.com (Guest)
on 2007-03-02 02:55
(Received via mailing list)
>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?
9cace61bc2a5972d44d5e1a1b8c145af?d=identicon&s=25 bramski@gmail.com (Guest)
on 2007-03-03 01:35
(Received via mailing list)
Anybody out there?  I don't want this to get too buried.
31ab75f7ddda241830659630746cdd3a?d=identicon&s=25 Austin Ziegler (austin)
on 2007-03-03 01:41
(Received via mailing list)
On 3/2/07, bramski@gmail.com <bramski@gmail.com> wrote:
> 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
9cace61bc2a5972d44d5e1a1b8c145af?d=identicon&s=25 Bram Whillock (bramski)
on 2007-03-05 20:25
(Received via mailing list)
Okay, where is the ruby-core discussion?  I see a read-only forum on
ruby-form.org.
31ab75f7ddda241830659630746cdd3a?d=identicon&s=25 Austin Ziegler (austin)
on 2007-03-05 20:58
(Received via mailing list)
On 3/5/07, bramski@gmail.com <bramski@gmail.com> wrote:
> 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
This topic is locked and can not be replied to.