2021-09-20 10:30 PM
I require to run 3 clients. I start 3 lwip threads using sys_thread_new. Each thread will service 3 python clients via 3 distinct Ports. Everything seems to be working when running only 2 threads . However, when a third client is added things become weird. Only one client is able to connect . When a second or third client tries to connect, it returns connection reset by peer.
2021-09-21 01:14 AM
MEMP_NUM_TCP_PCB_LISTEN?
2021-09-21 01:36 AM
Its marked as 8
2021-09-21 01:58 AM
HTTP/HTTPS?
LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED?
2021-09-21 03:16 AM
#if !defined LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED || defined __DOXYGEN__
#define LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED 0
#endif
and HTTP/HTTPS define is not present in the code ?
2021-09-21 05:09 AM
>HTTP/HTTPS define is not present in the code ?
Asking if you're using HTTP and/or HTTPS.
I'm throwing guesses.
MEMP_NUM_TCP_PCB?
Lots of information on the web about lwIP.
Search https://lists.nongnu.org/mailman/listinfo/lwip-users too.