From: Roger Pack Date: 2009-07-11T08:16:03+09:00 Subject: Re: Quick question on reading from TCPSockets > then that messes everything up. Is there a way to read data delimited > by a newline and if the last line read does not end with a newline to > have it placed back in a buffer of some sort to get the next set of > messages appended to it? Yeah you'd have to buffer it and process it only when a newline comes in. =r -- Posted via http://www.ruby-forum.com/.