From: gabriele renzi Date: 2005-03-18T19:29:53+09:00 Subject: Re: Asyn sockets Eustaquio Rangel de Oliveira Jr. ha scritto: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello there! > > Is there some feature in Ruby like the Java SocketChannels or Python > asynchat/asyncore? > I mean, async sockets to make that kind of server program where I don't > need one thread for every connected client. > > Thanks! > 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.