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.

CC3100MODBOOST: recv() doesn't return when socket is closed

Part Number: CC3100MODBOOST
Other Parts Discussed in Thread: CC3200

I'm using the CC3100MODBOOST board in transceiver mode attached to another board for development.  When receiving a socket error, I close the socket while in the context of the socket event handler sl_SockEvtHdlr().  When the socket is closed, the thread waiting to receive data on that socket remains blocked on the recv() call.

I expected the recv() to abort and return.

What's the best way to handle this situation?  Can I force recv() to return another way?

FW and driver versions:

ID(67108864) FW(31.1.5.0.2) PHY(1.0.3.37)
NWP(2.11.0.1) ROM(13107) HostDrv(1.0.1.11)