[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Limit on number of TCP connections

From: address@hidden
Subject: Re: [lwip-users] Limit on number of TCP connections
Date: Sat, 29 Feb 2020 21:43:36 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Am 27.02.2020 um 16:25 schrieb Alex H:
> Hello,
> I stumbled upon a limitation in the MEMP_NUM_TCP_PCB setting, where the
> maximum is an unsigned short. I was wondering if there is a simple way
> to boost this limit, as I get the following warning currently and cannot
> connect more than 16960 clients:

I guess lwIP is not really designed for that many connections. If you
really need that many tcp connections however, you may need to adjust
other memp pools also, which should hit the limit before the TCP_PCB pool.

I suggest to enable MEMP_MEM_MALLOC and just set the heap size high


reply via email to

[Prev in Thread] Current Thread [Next in Thread]