From: Paul Argentoff Date: 2003-07-29T14:55:51+09:00 Subject: Re: aSocket.select On Monday 28 July 2003 20:44, ts wrote: > You have an example in lib/net/telnet.rb > > until(prompt === line and not IO::select([@sock], nil, nil, > waittime)) unless IO::select([@sock], nil, nil, time_out) > raise TimeoutError, "timed-out; wait for the next data" > end This is obvious, and I wouldn't ask the question if I was glad with this pattern. My question was: if I use select as a method of aSocket object (anIO inherently, which is documented), how can I specify a timeout then. The interpreter says that anObject.select must be used with 0 arguments, but that seems to be stupid... -- why do I need select if I cannot specify he request's time boundary? -- Yours truly, WBR, Paul Argentoff.