2011/3/16 Iñaki Baz Castillo <ibc / aliax.net>: > 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 <ibc / aliax.net>