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.

RTOS/TMS320C6657: Error getting a buffer in NDK - bad file descriptor

Part Number: TMS320C6657

Tool/software: TI-RTOS

Hello,

NDK's function getsendncbuff() (from socket.h) ends up with the bad file descriptor error (EBADF). However, the raw socket supplied to this function has been created and its options are set successfully - everything checked by fdError().

What's the cause of this erratic behaviour?

Regards,
Marcin