On Wednesday 15 August 2007 12:37, Charlie Brady wrote:
> 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?
Yes, another thread of the server writes to the socket, which is associated 
with the physically disconnected client.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to