Hi,
I am hoping someone knows the cause of this strange error.
I have an embedded program running in Core-0 of my C6657, with NDK 2.24.0.11, TI-RTOS 2.0.1.23, MCSDK PDK TMS320C6657 1.1.2.6.
My program sends out an 8044-byte UDP message 25 times per second (JUMBOFRAMEs on) and listens for incoming HTTP/TCP messages, which it responds to with more HTTP/TCP.
All this runs fine until the number of incoming TCP messages increases to more than about one every second. Then the NDK_sendto() which is sending the UDP messages starts reporting EMSGSIZE (Errno 40). It doesn't recover from this even when incoming TCP messages cease. After a minute or so the error code changes to 55 (ENOBUFS).
The message size being sent via UDP is always 8044. I have checked that 8044 is given to NDK_sendto() even when NDK_sendto() is returning EMSGSIZE.
What could cause EMSGSIZE to be returned for a valid message size?
Why do incoming TCP messages cause the UDP EMSGSIZE errors?
Any ideas appreciated,
Duncan Hurst