From: Yohanes Santoso Date: 2005-03-25T23:04:17+09:00 Subject: Re: Asyn sockets Ed Wildgoose writes: >> I guess you are thinking of IO#select(). Notice that ruby threads are >> userspace ones, and every IO access is actually multiplexed to async >> request like python's asyncore. > > What about non-blocking connects though? The current ruby implementation silently switch the IO operating mode to non-blocking prior to connect (and of course restore the original mode afterwards). So, whether you are setting the fd to NB mode yourself or not, your connect won't block (assuming your OS supports NB operation). YS. -- http://microjet.ath.cx