Hi,
I'm using the latest version of NDK and I' like to know is there's a way to trigger an interrupt when there's data available on socket to be read with recv() instead of polling the connection. Device is 6678.
Thanks
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.
Hi,
I'm using the latest version of NDK and I' like to know is there's a way to trigger an interrupt when there's data available on socket to be read with recv() instead of polling the connection. Device is 6678.
Thanks
I think the function you are looking for is fdSelect(). It works the same as the standard select() API. Details can be found in the NDK API guide.
Steve