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开发板工作在ap模式tcp服务器下,如何监测socket连接断开?

Other Parts Discussed in Thread: CC3200

我的cc3200开发板用sl_send固定发送数据“1”给手机tcp客户端,想用sl_send的返回值判断手机的tcp客户端socket连接是否断开,但是当手机客户端断开socket连接,cc3200开发板仍然运行sl_send函数,并且返回值还是正值。请问有什么办法检测socket连接是不是断开?谢谢