Thanks for the reply.

In theory, the receiver should have a large window, and the LwIP server
can control transmissions, but the problem I had was the large amount
of retransmission requests for a file upload (large data transmission to
server).

Setting TCP_WND = TCP_MSS fixed the problem, since the browser only
sent 1 packet and then waited for an ACK, rather than sending 2 packets
at one time before getting an ACK, and the TCP stack not coping.

Why does the receiver need a large window?  The browser seem to behave well
with the window size.




Kieran Mansley wrote:
> 
> On Tue, 2010-02-02 at 12:33 +1100, Mykola Kyrylenko wrote:
>> Is it possible to have TCP_WND = TCP_MSS for packet reception, but
>> have
>> the recommended TCP_WND = 4 * TCP_MSS for packet transmission?
> 
> It's the other way round: the receiver needs to have a larger window.
> The sender could in theory get away with a very small TCP_WND.
> 
> Kieran
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Window-size-for-large-data-reception-tp27414329p27428975.html
Sent from the lwip-users mailing list archive at Nabble.com.



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to