This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A question for networking junkies/experts

Hello,

This is not a Keil related question (even though the Keil compiler is used to build the code). Sorry for that, I was merely wondering if someone had a clue...!
I have a rather strange problem: using open source networking library lwIP running of a LPC1788/FreeRTOS (does not matter I think), I am attempt to upload large files to a server. If a browser is used for that purpose (mimicking the embedded product behavior), the data is deliver quickly. However, if lwIP is used, I see that the reception window of the server shrinks and shrinks until it is so small that the connection is stalled and then broken. I do see that the browser uses TCP scaling (en.wikipedia.org/.../TCP_window_scale_option) but I don't think this is the main reason: even sending 5 KB/s induces this behavior!
I know that server is powerful enough.
I know lwIP is fast enough.
I don't understand why the reception window of the server shrinks when lwIP sends data, but not if a browser sends data.
Any ideas?

Parents Reply Children