Hi everyone!
Since I found no solution for my connection problem (http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=1690), I'm searching for illustrive example code to manage multiple connections using LWIP.
It would be nice if anyone could post such code.
Thanx!
LWIP example with multiple connections
Moderators: RoccoMarco, lbednarz, tfAteba
Re: LWIP example with multiple connections
To no have a forum of dead topics.
I'm using a few of threads setup like this as tcp servers.
However, none of the threads will occupy a connection for a long time. But these two are confirmed to be able to connected simultaneously.
Just make sure there is enough memory for lwip and threads!
I was unable to run this example together with a few other lwip using threads enabled on my current project.
As soon as a TCP Multicast sender thread woke up, the system went into kernel panic.
I'm using a few of threads setup like this as tcp servers.
However, none of the threads will occupy a connection for a long time. But these two are confirmed to be able to connected simultaneously.
Just make sure there is enough memory for lwip and threads!
I was unable to run this example together with a few other lwip using threads enabled on my current project.
As soon as a TCP Multicast sender thread woke up, the system went into kernel panic.
- Attachments
-
- lwip multi listener.zip
- (15.62 KiB) Downloaded 438 times