Pîrvu Mihai wrote:
I've read that different threads cannot call the same socket/netconn session at the same time, so I guess this is where my problem lays.

You can use the fairly new option LWIP_NETCONN_FULLDUPLEX set to 1, which in combination with thread-local semaphores (LWIP_NETCONN_SEM_PER_THREAD==1) to write from one thread while writing from a 2nd thread. Thread-local semaphores might not be easy to implement, though, depending on your port.

Simon

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to