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.

CC31xx how to do a quick check if socket has received data

Other Parts Discussed in Thread: CC3100

Hi,


I am currently getting arduino working with cc3100, since it is a tiny little chip without any good flow/OS control. So I prefer to use a blocking for socket API. I try to look through the documentation but did not find any way to do a quick check to see if data is available or not, before doing any blocking call. a sl_Recv with 0 returned take too long for blocking, and I also dont really want to use sl_Recv to check for data since it will take out the data. I only want something like peek() function.