TCP w/ TX Zero Copy

Thanks for testing again!

@michaelyoyo wrote:

so by the time recv() gets the next request it’s ensured that the previous response has been sent

Ah yes of course. Client and server are perfectly in sync.

The semaphore method can be very helpful if you want to handle multiple sockets, streams and more in a single task.

Recently, I wrote a summary of all asynchronous techniques in FreeRTOS+TCP.

When using these techniques, it is preferred to disable the socket’s time-outs.