LWIP Callbacks in FREERTOS
I’m using SAM7X with Atmel’s EK. I’m developing my own application on top of SAM7X LWiP Web Server Demo. It is working well but I couldn’t realize how to use LWiP raw api.
I wonder how TCP allback functions are implemented. Let’s say I have a task named ServerTask, I created it, bind the pcb and started listening. Then I’m calling:
Now what should be done at this point? Should I sleep the task and wait for a client to connect? If so, how will be the Scheduler schedule my task? Because, all the work will be done by the function http_accept.
Thanks for your help