From: "Iñaki Baz Castillo" Date: 2011-03-17T20:05:40+09:00 Subject: Re: TCPSocket: how to realize that the other endpoint has closed the connection? 2011/3/17 7stud -- : > It's possible that your first send() is stuck in a buffer.  See if > calling flush() on the socket works. Thanks, but I've added #flush before and after #send and it doesn't affect. -- Iñaki Baz Castillo