Thread 中讨论的其他器件:CC3200
我想知道他们使用 CC3200 SDK 在给定时间点打开的套接字数量的任何方法。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
CC3200支持多达8个插座。 其中两个可被保护(SSL/TLS)。
如果您需要更多插座、则应更方便地使用 CC3220 (16/6)或 CC3235/CC3230器件(16/16)。 CC3220/CC3235还支持用于关闭套接字的 LINGER 选项、从而更好地管理套接字。
更新了:但是如果您想继续使用 CC3200器件、解决安全套接字数量问题的合理方法是在调用 sl_close() API 之后打开新的安全套接字之前等待10秒。 即使安全套接字未在另一侧闭合、这也是通过超时闭合套接字的足够时间。
1月