[ruby-talk:00276] Re: IPv6-ready ruby

From: Jun-ichiro itojun Hagino <itojun@...>
Date: 1999-04-14 07:35:58 UTC
List: ruby-talk #276
>>	We KAME team (www.kame.net) are working on IPv6-ready ruby.
>It sounds great!
>I don't live in IPv6 still, but I tried the patch by 
>`./configure --disable-ipv6'. Then, sockets seem not to work correctly:
>% ruby -r socket -ve 'p TCPsocket.open("www", "daytime").read'
>ruby 1.2.5(99/04/13) [i386-freebsd2.2.6]
>/tmp/rbo25611:1:in `open': Protocol not supported - socket(2) (Errno::EPROTONOSUPPORT)
>        from /tmp/rbo25611:1
>%
>What is wrong?? or, Does this patch work upon only IPv6??
>I have IPv4 environment only. 

	Snapshot dated 19990413 may not work on IPv4-only environment.
	19990413a and more recent ones should be okay...  I'm still changing
	socket.c (adding methods to Socket, hunting bugs, etc) and will be
	issueing new snapshot soon (sometime tonight).

itojun

In This Thread