Skip to main content
Visitor II
September 21, 2021
Question

F767ZI+FreeRTOS+lwip can't support more than 2 clients?

  • September 21, 2021
  • 1 reply
  • 900 views

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.

    This topic has been closed for replies.

    1 reply

    Explorer
    September 21, 2021

    MEMP_NUM_TCP_PCB_LISTEN?

    SSRIN.1Author
    Visitor II
    September 21, 2021

    Its marked as 8

    Explorer
    September 21, 2021

    HTTP/HTTPS?

    LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED?