FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2006 Threads] LWIP Callbacks in FREERTOSPosted 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:
tcp_accept(pcb, http_accept);
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) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|