[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

recvfrom broken on mswin32?

bramski@gmail.com

3/2/2007 1:53:00 AM

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

4 Answers

bramski@gmail.com

3/3/2007 12:33:00 AM

0

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

Austin Ziegler

3/3/2007 12:41:00 AM

0

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
--
Austin Ziegler * halostatue@gmail.com * http://www.halo...
* austin@halostatue.ca * http://www.halo...feed/
* austin@zieglers.ca

bramski@gmail.com

3/5/2007 7:25:00 PM

0

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

On Mar 2, 4:40 pm, "Austin Ziegler" <halosta...@gmail.com> wrote:
> On 3/2/07, bram...@gmail.com <bram...@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
> --
> Austin Ziegler * halosta...@gmail.com *http://www.halo...
> * aus...@halostatue.ca *http://www.halo...feed/
> * aus...@zieglers.ca


Austin Ziegler

3/5/2007 7:58:00 PM

0

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
--
Austin Ziegler * halostatue@gmail.com * http://www.halo...
* austin@halostatue.ca * http://www.halo...feed/
* austin@zieglers.ca