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.

blocking tcp client socket has problem, in wifi auto reconnection

Other Parts Discussed in Thread: CC3200

Hi All,

I am using cc3200 in my project with power management framework, I used tcp sockets for cloud application thread. This thread will connect to cloud server and communicate over this blocking socket.

Cloud thread is waiting for packets from cloud-server using sl_recvfrom() call in a while loop, when it receives a packet it will process it and sends the response  back.

There is a problem in socket usage, When wifi is disconnected and reconnected to same or different AP.

Cloud thread  is not coming out of sl_recvfrom() on wifi-disconnected event, I tried to close the socket on wifi-connection event it is throwing SL_INEXE (socket command execution) error. 

Due to these issues, I am not able to use the socket and thread is completely stuck on sl_recvfrom() call..


Is this implicit problem with SDK1.0.0, any work around is there to handle issues like this?

your support is appreciated in advance.