We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
Thank You