Hi Champs,
When fdClose() and fdSelect get an error, what error type can be obtained by calling fdError()?
I checked out <serror.h>, but I'm not sure the error type for each API.
Thanks in advance for your cooperation.
Best regards,
j-breeze
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 Champs,
When fdClose() and fdSelect get an error, what error type can be obtained by calling fdError()?
I checked out <serror.h>, but I'm not sure the error type for each API.
Thanks in advance for your cooperation.
Best regards,
j-breeze
Hi j-breeze,
Looking at the code, I see:
fdSelect:
It looks like the error set in fdClose depends on 3 function calls (depending on the protocol or type of socket):
Steve
Hi Steve,
Thank you for your prompt reply.
It's really useful infomation, however I'd like to know if there are any documentations or not.
So, could you please let know about the related documentations if you have any?
Best regards,
j-breeze
j-breeze,
Yes, the NDK ships with an API guide, found in your NDK installation (spru524h.pdf).
I've tracked this issue in the following bug, to ensure that the document is updated to add those possible error codes.
SDOCM00093953 NDK documentation bugs
Steve