From: 7stud -- Date: 2011-03-17T11:38:08+09:00 Subject: Re: TCPSocket: how to realize that the other endpoint has closed the connection? 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/.