lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] STM32F4+lwIP: TCP MSS sets to 536 bytes on its own


From: Jagdish
Subject: [lwip-users] STM32F4+lwIP: TCP MSS sets to 536 bytes on its own
Date: Thu, 21 Jun 2018 08:52:36 -0700 (MST)

Hi,
Am using lwIP stack with STM32F4 series micro-controller in one of project
board. Trying to connect this board to pc based application. I observed,
When host sends packet of size 1088 bytes, the packet gets divided into 2.
Please refer the packet where length column shows 590 and 552. 
In lwiopts.h, i have set TCP_MSS to 1460. Also the initial TCP handshake
shows the MSS is 1460 from both PC and stm32f4 board. 
My understanding is that if in initial handshake the MSS is 1460. Host must
not divide the packet in 2 segments restricting the length of packet to 536
bytes.
Kindly help me to understand and set this right. Is there a configuration in
lwIP or on PC side that i am missing?

<http://lwip.100.n7.nabble.com/file/t2089/TCP_MSS_Image.png> 

Thanks.
Jagdish



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

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