From: Katsuyuki Komatsu Date: 1999-07-27T15:55:01+09:00 Subject: [ruby-dev:7444] dualstack-*.rb on mswin32 小松です。 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 # started, address 0.0.0.0 port 8888 socket 0.0.0.0 port 8888 listener started, pid 244 thread # socket 0.0.0.0 port 8888 accepted, thread # socket 0.0.0.0 port 8888 got string socket 0.0.0.0 port 8888 processed, thread # terminating socket 0.0.0.0 port 8888 accepted, thread # socket 0.0.0.0 port 8888 got string socket 0.0.0.0 port 8888 processed, thread # terminating socket 0.0.0.0 port 8888 accepted, thread # socket 0.0.0.0 port 8888 got string socket 0.0.0.0 port 8888 processed, thread # 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 # started, address 0.0.0.0 port 8888 socket 0.0.0.0 port 8888 listener started, pid 7248 thread # socket 0.0.0.0 port 8888 accepted, thread # socket 0.0.0.0 port 8888 got string socket 0.0.0.0 port 8888 processed, thread # terminating -- 小松克行 / Katsuyuki Komatsu