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.

cc3000 having two clients and one server, server is not accepting new connection sometime

while doing some miscellaneous testing  with for Wi-Fi Local Server, I faced  some issue . Everything looks fine, it communicate with two servers over Wi-Fi  but I can't connect to Local Wi-Fi Server even message informing "WiFi server listening...".

 

I tried debug the code ( I was debugging with JLINK),  where I found everything normal.  In Firmware, Accept() to a new connection returns a handler (positive value) else it return -2 i.e. socket in progress every time. when any error on socket(), it returns -1.

 

In this scenario, return was -2 (SOCKET IN PROGRESS) is quite normal. 

 

Next, I tried to capture the packet from client with expression "TCP" in wire shark, where I captured only SYNC packet from CLIENT. There is no response from CC3000. But I can capture ICMP packet for PING from both sides.

 

please help on this.