From: ts Date: 2001-04-16T21:15:48+09:00 Subject: [ruby-talk:13701] Re: Introduction to non-blocking networking and select()? >>>>> "T" == Terje Elde writes: T> I've recently discovered ruby, and while I'm amazed at how fun the language T> seems this far and I've been mosty happy with the documentation I must admit T> that I've had some problems figuring out how to do non-blocking networking, T> and I've found nothing resembling select() which allows me to simply wait for T> traffic on any socket and then act on it. Look at IO::select You have examples in the distribution of ruby lib/net/telnet.rb lib/net/protocol.rb Guy Decoux