lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] timers


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] timers
Date: Thu, 09 Jan 2003 02:14:19 -0000

Hi Mumtaz!

On Monday 04 March 2002 10.03, you wrote:
> all timers are declared in  tcp_pcb and not in tcp_seg
> does it means that tcp code doen not runs a separate timer for each
> segment? but for full window?

That is correct: the TCP retransmission timer has only one timer, not one for 
each segment. The reason is that when a retransmission takes place, the 
congestion window is reduced to one segment, which means that only the first 
segment on the unacked queue will be sent out. The other segments will not be 
sent until an ACK is received for the retransmitted segment. Therefore, there 
is no need to time every segment on the queue.

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

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