From: David -- Date: 2007-08-13T23:31:01+09:00 Subject: Re: TCPSocket Flushing > As far as I can see you read the whole stream in one go with > sock.read. Try this instead > > sock.each_line do |line| > puts line > end > > Kind regards > > robert It worked perfectly, thank you. -- Posted via http://www.ruby-forum.com/.