Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LWIP errno handling #6711

podaen started this conversation in General
Discussion options

I'm starting with an old ESP32 and I refuse to step over to an newer device until those problems are solved.

After investigating the network #6664 , I have seen that pings fluctuations can influence the behavior of receiving data, even transmitting data.

After investigation of the WiFi network data doesn't come in properly. Out of my testing the data of the WiFiClient is not able to collect all data with the current LWIP. Read is required!

To do, Errno handling is needed to collected WiFiClient data. The current flags MSG_DONTWAIT is not able to handle EAGAIN properly with read. Errno 11 is only confirming to MSG_OOB, MSG_PEEK, and MSG_WAITALL. MSG_OBB and those doesn't support older protocols without header that are convenient with newer data streams

To enable the read in the LWIP, #if LWIP_POSIX_SOCKETS_IO_NAMES needs to be #defined in lwipopts and this causes a conflict with previous declaration int fcntl(int, int, ...).

Can this addaped... added to the read the ESP socket or maybe declared in a higher hierarchic?

You must be logged in to vote

Replies: 1 comment

Comment options

There is nothing wrong with the current settings, they just need a little attention.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /