We have two tasks.
Task A creates and configures a raw socket then loops over recvnc() and send(). In other words, its an echo loop. There is a conditional compile to use getsendncbuff() and sendnc(), instead of send().
Task B features a loop that takes input from the UPP and attempts to call send() (or as above, getsendncbuff() and sendnc()).
The call from Task B, to send() or getsendncbuff(), returns an “unknown error”. That is to say, the call fails and then fdError() returns -1.
Why is the attempt to send a packet failing from Task B?
What is the easiest solution?
What is the most efficient solution?
P.S. A similar issue was posted two years ago, in http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/11373/44221.aspx#44221. Note there that other customers added posts to repeat the question in each of the two years since then. It was never answered.