2010/3/2 Eikichi On <eikichi / ymail.com>:
> Thank you for your reply very educational, very clear.  ¨Β θαφε τεστεδ
> IO#readline instead of IO#read, but once again I've got a "write" error.
> And I don't exactly see how to fix it.
>
> I just would like to establish a such communication (according to a
> given protocol) like:
>
> Parent message:  ¨Βθιμδ αξσχες> -------------- ------------
>
> 'are u ready?' 'yes_i_am_ready'
> 'are u cool?' yes_i_am_cool'
> 'Hello' foo'
> 'my name is ...' 'bar'
>
> Help me please :o

That's exactly the "expect" like model.  See for example:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/66884

Kind regards

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/