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?
Override lwipopts.h
-
- Posts: 10
- Joined: Mon Mar 06, 2017 5:34 pm
Override lwipopts.h
Hardwire.io / The IoT Platform
Re: Override lwipopts.h
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?
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?
Who is online
Users browsing this forum: No registered users and 70 guests