[jdev] tcp acknowledged sequence number
Jacek Konieczny
jajcus at bnet.pl
Tue Oct 12 13:17:40 CDT 2004
On Tue, Oct 12, 2004 at 09:31:46PM +0400, Alexey Nezhdanov wrote:
> When time out will be hit - connection will broke so I need to know
> wich packet was delivered last and wich were just dropped by tcp/ip stack to
> re-send them later when client come back online.
You may always use one of the JEPs providing delivery notifications
(JEP-12 or JEP-79) provided the recipient client supports the extension.
Any other solution (when the client doesn't notify delivery success)
will not be 100% reliable. TCP ack doesn't mean the client read the data
from the socket buffer or its internall IO buffer.
Greets,
Jacek
More information about the JDev
mailing list