[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:04230] Re: Error on Windows 2000

From: "Shigeo Kobayashi" <shigeo@...>
Date: 2000-07-27 05:42:13 UTC
List: ruby-talk #4230
----- 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



In This Thread

Prev Next