lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] TCP congestion window calculation


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] TCP congestion window calculation
Date: Thu, 09 Jan 2003 00:13:18 -0000

Hi Biren!

On Thursday 03 January 2002 03.27, you wrote:
> The sequence number of the data frame after three-way handshake is ISS+1
> but value of pcb->lastack is still ISS. I went over the code and found that
> value of last ACK is assigned to pcb->lastack in function tcp_receive()
> only,
> and in the SYN_SENT state, tcp_receive() is not getting called.
>
> I added line "pcb->lastack = ackno;" in tcp_process() in SYN_SENT state
> and it worked!

Ok! I've added this to the lwIP CVS as well. Thanks for spotting this!

/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]