From: Roger Pack on
> things get out of sync in weird ways. Again I think it's some kind of
> cache flushing problem. I hope someone on this list has tried something
> like this and might be able to help me explain what's going on.

in general if you were to a recv(1024) it might receive "half" of an
incoming string, however, doing a gets *should* buffer up till the next
newline and return it.

changing the client to puts servers_resp.inspect
yields this:


Welcome to the server
>
"What does Hi there server\n"
>
" mean, anyway?\n"


which may be a useful clue for ya.
GL.
-rp
--
Posted via http://www.ruby-forum.com/.