lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] using differnet protocols parallel


From: Kieran Mansley
Subject: Re: [lwip-users] using differnet protocols parallel
Date: Fri, 23 Feb 2007 09:41:54 +0000

On Fri, 2007-02-23 at 00:11 +0100, Marcel M. wrote:
> Hi all,
> 
> my name is Marcel any i’m from Germany. I would like to use lwIP with the
> multithreading RTOS freertos (www.freertos.org). On my µC System i have to
> implement at least two tcp socket connections, SNMP and Telnet(that means at
> least four ports). Can i use lwIP to use this protocols "parallel"? I read,
> that lwIP isn’t threadsafe, so is there any solution? Anyone implement some
> different protocols which runing "parallel" with lwIP?
> Thanks a lot!

Yes, it should be fine.  You just have to protect lwIP from having
multiple threads active in the stack at the same time using (for
example) a mutex.  I'm not sure to what extent lwIP has been integrated
into freertos - this may have been done for you already at the sockets
layer, assuming that is the API you wish to use.

Is there someone else here using freertos with lwIP who can provide more
concrete information on its capabilities?

Kieran





reply via email to

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