From: Joel VanderWerf Date: 2004-02-21T09:57:35+09:00 Subject: Re: TCPserver client disconnect Noah wrote: > ruby newbie question... > > How can I detect when a client disconnects from a TCPserver? > I'm streaming data to the client in a while loop (Shoutcast-style mp3 > stream), but I'm not sure what condition to test to see if the client drops > out. Does sample/svr.rb (in the ruby distribution) help?