lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] seq number & ACK issue


From: Kieran Mansley
Subject: Re: [lwip-users] seq number & ACK issue
Date: Tue, 02 Mar 2010 09:28:38 +0000

On Tue, 2010-03-02 at 15:54 +0700, PHAM ANH THIEN wrote:
> 
> 1. Why i always receive ACK packets after 2 packets data sending? is
> there
> any setting to change it (for example: after 5, 6... packets sending i
> will
> receive ACK)?

That's the way TCP works, and there isn't an option to change it.  It
tries to avoid sending an ACK for every packet, but sends one for at
least every two packets to ensure things continue to work. 

> 2. How unacked->seqno is created? and why sometime this value less
> than 0 as
> above log?

That looks wrong, it should always be positive as seqno is unsigned.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]