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.

[参考译文] CC3235SF:如何在使用 sl_bind ()时恢复 SL_ERROR_BSD_EADDRINUSE (-98L)错误

Guru**** 2553740 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/987236/cc3235sf-how-to-recover-sl_error_bsd_eaddrinuse--98l-error-while-use-sl_bind

器件型号:CC3235SF

您好!

我正在使用 sl_bind () API 将套接字描述符与本地端口绑定。 在 我的应用中、某些极端情况下会出现 SL_ERROR_BSD_EADDRINUSE 错误。  要恢复此操作、我必须重新引导设备。

如果遇到绑定错误、我检查一种关闭套接字的方法、但它不起作用。

此外、我找到"ReuseaddrEnabled"、但无法在 定义中找到 SL_SO_REUSEADDR、因此未使用此选项。

请向我建议一些解决方案来恢复此错误?