MQX tcp send fails with socket error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX tcp send fails with socket error

842 Views
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

Tags (1)
0 Kudos
Reply
1 Reply

756 Views
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 Kudos
Reply