Search found 1 match

by Crororo
Sun Jul 20, 2025 7:22 pm
Forum: General Discussion
Topic: Is it FD_SETSIZE hardcoded to 64?
Replies: 1
Views: 124

Re: Is it FD_SETSIZE hardcoded to 64?

I encountered the same error when increasing CONFIG_LWIP_MAX_SOCKETS:
_Static_assert(MAX_FDS >= CONFIG_LWIP_MAX_SOCKETS, "MAX_FDS < CONFIG_LWIP_MAX_SOCKETS");
The issue is that in ESP-IDF (and PlatformIO), MAX_FDS is not defined directly via CONFIG_MAX_FDS, but instead through FD_SETSIZE:
#define ...

Go to advanced search