vincent cui <[email protected]> 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
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to