Unfortunately I only know the RAW API and can't help you further. Did you check the basics ?: - core lwIP runs in a single thread. If your Ethernet is handled in another thread, you don't call any lwIP functions from there, except for the pbuf allocation/free functions; you queue your packets and the core lwIP thread (tcpip_thread) will take them out of the queue and handle them later. - "one thread per socket", quote: "Netconn or Socket API functions are thread safe against the core thread but they are not reentrant at the control block granularity level. That is, a UDP or TCP control block must not be shared among multiple threads without proper locking." https://www.nongnu.org/lwip/2_1_x/multithreading.html
This is as far as I can go. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
