Re: TCP keepalive algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux