lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] TCP transmission issue, with linux server.


From: Kieran Mansley
Subject: RE: [lwip-users] TCP transmission issue, with linux server.
Date: Tue, 11 Aug 2009 09:04:40 +0100

On Tue, 2009-08-11 at 09:58 +0200, B B wrote:
> Hi David,
>  
> Thank you for your reply.
>  
> I completely agree that my application should cope with data being
> sent in arbitrarily sized blocks.
>  
> My application is now capable of handling this. But that was only a
> part of the solution for me.
>  
> I had to change the value of TCP_WND also. Which was changed from 1500
> to 1436. So that TCP_WND = TCP_MSS = 1436.
> This was done to avoid too much data management on the unit.

If you ever want to get good bandwidth from your device it is worth
making sure that TCP_WND is at least twice TCP_MSS.  If you don't the
delayed ACK algorithm could cause large delays in the sending of data.
Making it a multiple of TCP_MSS is sensible too, as you have done.

Kieran





reply via email to

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