It's possible that your first send() is stuck in a buffer.  See if 
calling flush() on the socket works.

-- 
Posted via http://www.ruby-forum.com/.