lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwIP in multi-thread environment mixed with raw-api


From: Alexander Heidt
Subject: [lwip-users] lwIP in multi-thread environment mixed with raw-api
Date: Fri, 05 Jun 2009 16:19:20 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Hello!

I am getting familiar with lwIP right now, on a STM32-Microcontroller. Right now I have the lwIP running in a single thread, works fine. I even built a veeeery simple http-server using the raw-api. Now I am trying to use lwIP with FreeRTOS. My question: As it is stated in the wiki, only ONE application thread using the lwIP-api is permitted. In my application I would like to 1. have the http-server running to serve a config-website and 2. connect to a server to upload some data. As I am not familiar with the lwIP-api yet: Is this possible via the api in one single task? Or is it possible, to leave the http-server I have already as it is (totally done via callbacks), and just use the api to do the data-uploading in my application task?

And one another question regarding PPP: Afaik now PPP needs a multithreaded environment, cause the PPP-daemon runs in its own thread. But what is the status of the PPP-part of lwIP?? Is it still very buggy, or is there somebody having had a good experience with it?? Just to know, if it is worth, trying to use it, or not!

Regards, Alex






reply via email to

[Prev in Thread] Current Thread [Next in Thread]