Can FREERTOS_ZERO_COPY flag be used?

There is a flag named "FREERTOS_ZERO_COPY " in FreeRTOS_Sockets.c file. Some API functions check this flag and some of them are using. Specifically, I have seen some UDP API fuctions However, I do not see any information about "FREERTOS_ZERO_COPY " flag in FreeRTOS-Plus-TCP documentation page. My questions are;

  • Is this flag also valid for TCP communication?
  • Can I use this flag for TCP API functions(e.g send, recv, …)?
  • How can I use and test this flag?

Best Regards,

Hello Kerem, is this what you are looking for?

The flag is mostly used for UDP. When using TCP, things are slightly different.