小松です。

mswin32でsample/dualstack-*.rbの動きが変ですね。

98でも同じような感じで、NTだと"Co"が出てますが、98だと
この"Co"も出ないで終わってしまいます。

本来は、Solaris 2.5.1の例のような出力が期待されているの
ですが。

== NT ==

C:\lang\ruby-1.3.5\sample>ver

Windows NT Version 5.0

C:\lang\ruby-1.3.5\sample>ruby dualstack-fetch.rb http://localhost:8888/
conntecting to localhost port 8888
conntected to 127.0.0.1 port 8888
Co
C:\lang\ruby-1.3.5\sample>ruby dualstack-fetch.rb http://localhost:8888/
conntecting to localhost port 8888
conntected to 127.0.0.1 port 8888
Content-type: text/plain


C:\lang\ruby-1.3.5\sample>ruby dualstack-fetch.rb http://localhost:8888/
conntecting to localhost port 8888
conntected to 127.0.0.1 port 8888
Co
C:\lang\ruby-1.3.5\sample>

C:\lang\ruby-1.3.5\sample>ruby dualstack-httpd.rb
socket #<TCPServer:0x6e3200> started, address 0.0.0.0 port 8888
socket 0.0.0.0 port 8888 listener started, pid 244 thread #<Thread:0x6e2fa8>
socket 0.0.0.0 port 8888 accepted, thread #<Thread:0x6e2d98>
socket 0.0.0.0 port 8888 got string
socket 0.0.0.0 port 8888 processed, thread #<Thread:0x6e2d98> terminating
socket 0.0.0.0 port 8888 accepted, thread #<Thread:0x6e2a80>
socket 0.0.0.0 port 8888 got string
socket 0.0.0.0 port 8888 processed, thread #<Thread:0x6e2a80> terminating
socket 0.0.0.0 port 8888 accepted, thread #<Thread:0x6e28e8>
socket 0.0.0.0 port 8888 got string
socket 0.0.0.0 port 8888 processed, thread #<Thread:0x6e28e8> terminating

== Solaris 2.5.1 ==

% uname -s -r
SunOS 5.5.1
% ruby dualstack-fetch.rb http://localhost:8888/
conntecting to localhost port 8888
conntected to 127.0.0.1 port 8888
Content-type: text/plain

this is test: my name is 0.0.0.0 port 8888, you sent:
---start
GET / HTTP/1.0
---end
% 

% ruby dualstack-httpd.rb
socket #<TCPServer:0x42f30> started, address 0.0.0.0 port 8888
socket 0.0.0.0 port 8888 listener started, pid 7248 thread #<Thread:0x42cd8>
socket 0.0.0.0 port 8888 accepted, thread #<Thread:0x42ac8>
socket 0.0.0.0 port 8888 got string
socket 0.0.0.0 port 8888 processed, thread #<Thread:0x42ac8> terminating

--
小松克行 / Katsuyuki Komatsu <komatsu / sarion.co.jp>