Page 1 of 1

Override lwipopts.h

Posted: Thu Aug 03, 2017 4:13 pm
by HardwireIO
We have to change some defines set on lwipopts.h but we'd like to avoid to change source code on esp-idf repository.
Is there any way to change those settings without modifying original file?

Re: Override lwipopts.h

Posted: Mon Apr 08, 2019 6:02 am
by zhivko
Which settings? I am trying websocket app that sends 1k of data every 100ms, and I see data stops sending at some point.

I'm not sure but maybe I ahave problem with Maggie algorithm... From Wikipedia

Applications that expect real-time responses and low latency can react poorly with Nagle's algorithm. Applications such as networked multiplayer video games or the movement of the mouse in a remotely controlled operating system, expect that actions are sent immediately, while the algorithm purposefully delays transmission, increasing bandwidth efficiency at the expense of latency. For this reason applications with low-bandwidth time-sensitive transmissions typically use TCP_NODELAY to bypass the Nagle delay.[5]


Do you see similar?