[jdev] tcp acknowledged sequence number

Alexey Nezhdanov snake at penza-gsm.ru
Tue Oct 12 13:57:51 CDT 2004


В сообщении от Вторник 12 Октябрь 2004 22:17 Jacek Konieczny написал(a):
> 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.
That's the main problem: lack of client support. I'm just trying to improve 
things with existing clients.

> TCP ack doesn't mean the client read the data 
> from the socket buffer or its internall IO buffer.
It's their problem. If data is delivered to client it is completely client's 
work to not loose it.

And finally - didn't anybody else noticed these mail that I'm referring to - 
an example of socket call to extract "ack position" ?

-- 
Respectfully
Alexey Nezhdanov




More information about the JDev mailing list