This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what is the maximum value for TCP_NUM_SOCKS

What is the maximum number of TCP sockets the network library can handle?

Parents
  • 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.

Reply
  • 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.

Children