Re: TCP keepalive algorithm
From: Charlie Brady
Date: Wed Aug 15 2007 - 13:44:24 EST
On Wed, 15 Aug 2007, Jeff Weber wrote:
However, if I:
b)
enable TCP keepalive on a server,
lower the default keepalive parameters,
establish a connection from a client,
physically disconnect the server network,
periodically send data to the disconnected client socket <-- NEW
monitor client socket read status with select()
the select() is not able to see the client socket is dead.
It might help if you describe exactly what you mean by "periodically send
data to the disconnected client socket". Do you mean periodically queue
more data in the server process?
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html