Hi Thomas, On Wed, Mar 06, 2013 at 01:14:57AM -0800, ThomasJ wrote: > > Could it be the fact I'm using netconn_write in one task and netconn_recv in > another? Would it help using them in the same task? (First check for > received data and then send data if any to send?)
Yes, this is the issue, a UDP or TCP control block through netconn must NOT be used from different threads. However, I must agree, lwIP documentation is probably not clear enough about what is (dis)allowed in a multi-threaded context. Sylvain
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
