----- Original Message -----
From: "Jack" <jackfhou / hotmail.com>
Subject: [ruby-talk:04227] Error on Windows 2000


> I execute sample/svr.rb and sample/clnt.rb, both scripts run fine. But
> svr.rb gives
> the following error when I try to kill it with Ctrl-C (kill clnt.rb
without
> problem).

The problem is due to the inconsistent implementation of
select() in Windows socket library. The select() in Windows
socket never give us any chance to handle Ctrl-C event.

From the next release (1.4.6?), Ctrl-C event will be just
discarded and you can not kill svr.rb by Ctrl-C during the
select() or accept() is in operation.

Is this satisfactory for you ?

Shigeo Kobayashi
shigeo / tinyforest.gr.jp