lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] UDP and TCP (HTTP) sockets open at the same time?


From: Radouch, Zdenek
Subject: Re: [lwip-users] UDP and TCP (HTTP) sockets open at the same time?
Date: Thu, 6 Nov 2014 23:03:55 +0000

Yes, lwIP/FreeRTOS/M3 can do that and much more. You can run an HTTP client 
pulling your
NAS files in one thread, an HTTP server in another thread, a UDP server in yet 
another thread,
plus whole bunch of other stuff.

>  I have limited experience of embedded TCP/IP

Then use the lwIP socket interface; it'll feel just like Unix/Linux.

Cheers,
-Z

  
________________________________________
From: address@hidden address@hidden on behalf of Robert Wood address@hidden
Sent: Thursday, November 06, 2014 12:34 PM
To: address@hidden
Subject: [lwip-users] UDP and TCP (HTTP) sockets open at the same time?

Hi all,

I have a reasonably simple project that needs some TCP/IP functionality.
I need to use HTTP to pull a file from a NAS and I also need to have a
socket open (potentially at the same time the the same time) to send and
receive simple UDP packets. It's possible I will have to serve very
simple files over HTTP as well.

It will run on a Cortex M3 or, more likely, M4 and use FreeRTOS.

Is lwIP capable of doing this? I have limited experience of embedded
TCP/IP. I used uIP for sending and receiving UDP, but that seemed only
capable of doing either TCP or UDP, bit not both. My understanding is
that lwIP is more capable than uIP though.

Many thanks,

Rob

_______________________________________________
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]