This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Posix select() function in Keil / detect if recv() is usable

Hi,

I am having a problem while trying to find a function doing the equivalent of the select() function in the posix library. It would be used to detect if there is something to read by the recv() (= if we can properly use recv()) and if we can write with send().
I need it because I apparently can't use the recv() when I want in my program and as many time as I would like to.

To summarize, I need a function of detection that can tell me if I am ready to receive and/or send messages.

Thank you in advance for the help,

Alexandre