Override lwipopts.h

HardwireIO
Posts: 10
Joined: Mon Mar 06, 2017 5:34 pm

Override lwipopts.h

Postby HardwireIO » Thu Aug 03, 2017 4:13 pm

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?
Hardwire.io / The IoT Platform

zhivko
Posts: 23
Joined: Tue Dec 01, 2015 12:02 pm

Re: Override lwipopts.h

Postby zhivko » Mon Apr 08, 2019 6:02 am

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?

Who is online

Users browsing this forum: No registered users and 133 guests