What is the maximum number of TCP sockets the network library can handle?
The number of sockets in Net_Config_TCP.h is limited to 20 sockets.
However, this is a RTE limit, you can manually set this number to a maximum of 255 sockets, as the sockets are stored internally as uint8_t (8-bit numbers).
You should be aware that more TCP sockets also means more CPU time needed to process and maintain these sockets.
View all questions in Keil forum