LWIP Callbacks in FREERTOS
Posted by Çağlar Akyüz
on September 20, 2006
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
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.