SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
There are a total of eight regular (non-secured) sockets, from which two sockets can be secured* sockets.
If all of the sockets are client sockets, a total of eight sockets can be used.
When some of the sockets are server sockets, then the number of available sockets for communication depends on the number of listening sockets. If one socket reserved for public sockets, is used to listen to incoming client requests, this leaves seven private sockets for actual client communication. If two server sockets are reserved for listening, only six private sockets will remain for communication, and so forth.
The number of available server sockets for UDP connection remains eight because UDP is a connectionless socket. Since it does not require a socket to be in listening mode all the time, all eight sockets can be used for client communication.
The server side secure socket (SSL/TLS) connection number is not affected because you can use a regular server socket for listening. Once accepting a new client connection, you can switch to the secure socket.