From: Jim Weirich Date: 2006-06-07T01:04:09+09:00 Subject: Re: Multiple threads on single port Stuart Brand wrote: > Hi all > > Can I use Ruby threads to have more then 1 server process running on the > same port > > something like [... example elided ...] Not quite. I believe you can only have one thread listening to a port at a given time. The idiom generally is to accept the connection in one thread, and then pass the accepted connection to a different thread for processing. So one thread handles accepting and multiple threads manage the processing. -- Jim Weirich -- Posted via http://www.ruby-forum.com/.