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

2014-11-06 Thread Robert Wood
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

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

2014-11-06 Thread Radouch, Zdenek
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 inter

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

2014-11-06 Thread Robert Deschambault
Hi, Yes we are doing it for our project. We use the UDP for device detection and discovery, and TCP/IP for communications with our device. We are using a STM32F4xx Cortex-M4 with Keil's RTX rtos. We are now porting out code to CMSIS-RTOS/RTX for the next generation of our device. Good luck, B