From: "Robert Klemme" <bob.news / gmx.net>
> 
> > >>>>> "K" == Kuros  <kuros / sbcglobal.net> writes:
> >
> > K> I'm very new to Ruby, I generally work in Python. I am wanting to try
> > K> writing a simple little chat server in it. The problem is, I'm trying to
> > K> find something in ruby similar to the select() function in C/Python that
> > K> returns a list of readable/writeable/error sockets, but I can't seem to
> > K> find one.
>
> Another option might be to use threads.

Bjorn Stahl posted a nice threaded TCPServer example at
http://www.ruby-talk.com/59018

(For a non-threaded example, I posted http://www.ruby-talk.com/59000 -
but please ignore my comments about threading and sockets being
problematic; I was mistaken!)


Regards,

Bill