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