lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] how to extend the received payload size


From: Simon Goldschmidt
Subject: Re: [lwip-users] how to extend the received payload size
Date: Mon, 26 Sep 2011 07:23:56 +0200

 vincent cui <address@hidden> wrote:

I ported ftpd in my lwIP project.. . and found there is received problem

 

Type “get a.bin” in ftp client console, my server works pretty and get 33KB/s uploading

Type “put a.bin” in ftp client console, my server works , but very slow, I trace the code, and found that sequence TCB payload size is 970, 490, 970, 490, 970, 490 ….

 

The key point is that the payload size is small …it seems to be related with lwIP configuration. 

Which side is lwIP, the server, client or both? If it's the server only, try increasing TCP_WND. Also, did you check wireshark and see the same segment sizes? If not, there might be other limitations that drop packets after receiving them.

Simon

reply via email to

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