On Mar 28, 2006, at 9:48 AM, Shea Martin wrote: > I want to listen for connections for 2 seconds, then timeout. Do I > have to use the Timeout module? That will be the easiest way. Timeout.timeout 2 do Thread.start server.accept do |s| new_connection s end end -- Eric Hodel - drbrain / segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com