Tool/software: Code Composer Studio
Hi,
i implement connection to server and send receive messages to server machine.
how do i indicate that the server is disconnected or stop the listening what is the event that generated by the simplelink?
advice
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.
Tool/software: Code Composer Studio
Hi,
i implement connection to server and send receive messages to server machine.
how do i indicate that the server is disconnected or stop the listening what is the event that generated by the simplelink?
advice
Hi,
You get error from send() API, 0 or error code from recv() API.
In case of device is not able to send data from internal TCP/IP buffer (due to WLAN or sokcet disconnection) you are infomred by event SimpleLinkSockEventHandler() - SL_SOCKET_TX_FAILED_EVENT.
Jan