lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip complex example


From: Noam Weissman
Subject: Re: [lwip-users] lwip complex example
Date: Wed, 5 Jul 2017 07:32:27 +0000

Hi,

If you use RAW API it is not thread safe, if you use Socket API it is OK.

No problems running multiple modules with mixed API if you follow the rules.

I am running devices with several modules in RAW API + Socket API.


BR,
Noam.

-----Original Message-----
From: lwip-users [mailto:address@hidden On Behalf Of massimiliano cialdi
Sent: Wednesday, July 05, 2017 9:41 AM
To: address@hidden
Subject: Re: [lwip-users] lwip complex example

Ok but I wonder how to implement two sockets, because reading txt documentation 
provided it seems that only a subset of api are thread safe, and I use LWIP + 
FreeRTOS.

So I wonder if I can do this with two threads or I have to do with just one.

I have other doubts about initialization


best regards

Max

On 04/07/2017 17:53, Jan Menzel wrote:
> Hi Max!
>       It's the nature of the stack that you may combine any examples you 
> like suppose you can provide sufficient resources. Running eg. http 
> and sntp is quite easy you just need more udp pcbs for sntp and/or tcp 
> support for http...
>


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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