TI员工,大家好:
我现在的CC3200作为TCP server 建立socket通信。
我发现过一段时间连接可能会断开(与Client断开,Client端用的是“网络调试助手”这个软件)。
我想解决这个断开问题,是用心跳来解决吗?
我想用“sl_SetSockOpt()”函数来做设置,把第三个参数设置为宏定义“SL_SO_KEEPALIVE”,这样对吗?
TKS!
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.
TI员工,大家好:
我现在的CC3200作为TCP server 建立socket通信。
我发现过一段时间连接可能会断开(与Client断开,Client端用的是“网络调试助手”这个软件)。
我想解决这个断开问题,是用心跳来解决吗?
我想用“sl_SetSockOpt()”函数来做设置,把第三个参数设置为宏定义“SL_SO_KEEPALIVE”,这样对吗?
TKS!