From: "Iñaki Baz Castillo" Date: 2011-03-17T09:23:11+09:00 Subject: Re: TCPSocket: how to realize that the other endpoint has closed the connection? 2011/3/16 Iñaki Baz Castillo : > It's connected. Later the server is stoped or restarted so the TCP > connection gets down. But if in the client I send data using > "@socket.send" then it gets no error at all, it behaves as if the data > has been sent through the socket. However, if the client sends data again (using TCPSocket#send) then it gets an exception. Why doesn't such exception occur in the firs case? it's obvious that the connection has been closed by the other endpoint. Thanks,. -- Iñaki Baz Castillo