From: ts Date: 2003-05-17T22:14:47+09:00 Subject: Re: select strange behavier >>>>> "S" == Simon Strandgaard <0bz63fz3m1qt3001@sneakemail.com> writes: S> res = select([r1, r2], nil, nil, 0.1)[0] S> p res S> if res.include?(r1) S> unless r1.eof svg% man select [...] Three independent sets of descriptors are watched. Those listed in readfds will be watched to see if characters become available for read- ing (more precisely, to see if a read will not block - in particular, a file descriptor is also ready on end-of-file), those in writefds will ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [...] svg% Guy Decoux