From: hemant Date: 2006-10-03T21:45:05+09:00 Subject: Re: Monitoring Socket Disconnect during gets or readline On 10/3/06, Paul Lutus wrote: > IO#gets blocks forever if the input goes away, while IO#readline throws an > exception on EOF. I think your situation qualifies as an EOF. Why not try > it? > Use Eventmachine (http://rubyforge.org/projects/eventmachine). The thing...you need for painless network programming in ruby. -- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary.