On 05.04.2018 16:24, antonio wrote: > I have a small application using MDNS, and I use the loopback interface. > At the beginning the Thread1 starts the MDNS process,
Q: Wait, why are you talking about threads? You are using the callback API of lwIP, right? There should not be more than one thread in that case. Hi Simon, The problem is the function that requires recursion (*mdns_readname*). The error is related to */Stack Overflow/.. * Since to build a *DNS_RRTYPE_A* responses does not use that function, then it works perfectly. Inside function mdns_add_srv_answer()... setting the last input parameter of mdns_add_answer() to NULL, solves this problem since it will not call mdns_write_domain, which in turn calls *mdns_readname*. But I am not happy with the ack. -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users