user83299: Is there any way to change the TCP send buffer size (TCP_SND_BUF) on this module ?
Now it is equal to TCP_SND_BUF = 2 * TCP_MSS = 2 * 1460 = 2920.
Editing lwipopts.h doesn't make any difference.
The same question applies to ΤCP_MSS, TCP_WND etc.
I am using v2 Higher Bandwidth variant. Platform is Microchip Studio with vMicro Arduino addon.

user4143: No, you can't.
The macro you are trying to tweak is for reference only and does not control the size of the buffer.
On the ESP8266 the IP stack (and much of the rest of the system) is precompiled as .a libraries. Changing things like the TCP_SND_BUF macro will never change what has been compiled into those libraries. Instead all it will do is cause problems of buffer overruns and corrupted data as other code is then given incorrect information about the size of the buffer.

83299: <p>Is there any way to change the TCP send buffer size (TCP_SND_BUF) on this module ?</p>
<p>Now it is equal to <code>TCP_SND_BUF = 2 * TCP_MSS = 2 * 1460 = 2920</code>.</p>
<p>Editing <code>lwipopts.h</code> doesn't make any difference.</p>
<p>The same question applies to <code>ΤCP_MSS</code>, <code>TCP_WND</code> etc.</p>
<p>I am using v2 Higher Bandwidth variant. Platform is Microchip Studio with vMicro Arduino addon.</p>
 4143: <p>No, you can't.</p>
<p>The macro you are trying to tweak is for reference only and does not control the size of the buffer.</p>
<p>On the ESP8266 the IP stack (and much of the rest of the system) is precompiled as <code>.a</code> libraries. Changing things like the <code>TCP_SND_BUF</code> macro will never change what has been compiled into those libraries. Instead all it will do is cause problems of buffer overruns and corrupted data as other code is then given incorrect information about the size of the buffer.</p>
