MQX tcp send fails with socket error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX tcp send fails with socket error

840 次查看
deepaappu
Contributor I

Hi,

I'm currently working with K66 controller and MQX5.0. I'm facing an issue with socket send. For secured periodic MQTT send, the device calls send() and fails with an error SOCKET_ERROR. Is there is way to flush the data in the TCP buffer and try again?

Best regards,

Deepa

标记 (1)
0 项奖励
回复
1 回复

754 次查看
danielchen
NXP TechSupport
NXP TechSupport

As far as I know, only shutting down the stream socket with an abort operation can discard the socket's internal buffers immediately.

0 项奖励
回复