lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] TCP Server RST after ACK


From: Olaf Du
Subject: [lwip-users] TCP Server RST after ACK
Date: Tue, 29 Nov 2022 16:50:19 +0100

Hello

I'm trying to port LwIP with FreeRTOS to the WCH32V307. It seems to kind of work. DHCP is working, even though it sometimes takes quite some time to gather an IP Address.

But TCP is not really working. I'm using httpd server in LwIP. Tracing it down lead to getting a RST from the LwIP Server. The RST is sent due to an incorrect ACK number.

Putting a printf into tcp_in.c after /* expected ACK number? */ lead to the following:

Ackno is: 6511, expected ackno is: 6510

This results in LwIP sending a RST.

Any idea why this can happen?

Thanks

reply via email to

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