From: "Iñaki Baz Castillo" Date: 2011-03-17T02:58:08+09:00 Subject: TCPSocket: how to realize that the other endpoint has closed the connection? Hi, I open a TCP connection with a server: socket = TCPSocket.new HOST, PORT 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. I expected that there should be some method to get the status of the socket, but I cannot find it. Any suggestion please? Thanks a lot. -- Iñaki Baz Castillo