lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP_SNDBUF limit


From: Joel Cunningham
Subject: Re: [lwip-users] TCP_SNDBUF limit
Date: Thu, 04 Feb 2016 23:24:54 +0000 (GMT)

The LwIP master branch supports larger windows than 65535 by enabling the window scaling options.  So no patches should be needed.  Check out LWIP_WNDW_SCALE and TCP_RCV_SCALE in opt.h

Joel

On Feb 04, 2016, at 03:36 PM, Michael Steinecke <address@hidden> wrote:

That depends on your config file. Natively you can send up to 65535 bytes in one TCP transmission. As far as I remember, its the TCP_WND #define, controlling this. If you need more bigger massages, you need to replace a lot of u16 by u32. There is also an oversize patch somewhere, doing this correctly.

2016-02-04 8:00 GMT+01:00 Gaurav Jain <address@hidden>:
Is there a limit on the tcp send buffer? What I have observed is, that
If I try to send huge amount of data in chunks, it accumulates it upto
8192 (8K) and then gives out No Space in Send buffer.

Do we have to reset the buffer or we can call tcp_output(pcb) so that
the data fargments are sent immediately?

Gaurav

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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