Dear Hein, Okay, I see this has become a trade off between comfort and performance so I think you are probably right we should leave well alone and maintain the performance. Just one final comment, is it worth adding a note to the documentation for the FreeRTOS_sendto() function on freertos.org to mention the first call to FreeRTOS_sento() may be morphed to an ARP request and the original packet dropped. So the developers are away of this behaviour? Thank you very much for your time, it is appreciated....
Dear Hein, Thank you very much for your prompt reply, I accept your point about keeping FreeRTOS+TCP simple and completely understand the complexity of the code required to deal with this in an ideal way. I would do this my self if I had time! Is it worth instead, maybe adding a new ERRNO message, something along the lines of : #define pdFREERTOSERRNONOTXARPREQ 141 /* Arp Request was required packet dropped please resend packet */ in projdefs.h, and have FreeRTOS_Sendto() return this under the offending...
UDP ARP Behaviour