[lwip-users] lwip_recvfrom - EWOULDBLOCK error

2018-10-03 Thread matteo.c...@alice.it
Dear all, I have some difficult in the use of lwip_recvfrom function. I have been using the LwIP 1.4.1 for several years and it works great. I recently replaced the version 1.4.1 with the 2.0.3 and encountered some difficults with the lwip_recvfrom function. In the version 1.4.1, when the co

[lwip-users] DNS thread-safe functions

2020-01-29 Thread matteo.c...@alice.it
Dear all,I would like to ask some questions about the thread-safe functions. According the http://www.nongnu.org/lwip/2_0_x/pitfalls.html page, in the OS mode, all the callback-style APIs function must only be called from the TCPIP thread. In the OS mode, the functions belongs to NETIF, DHCP, DNS,

[lwip-users] R: Re: DNS thread-safe functions

2020-02-04 Thread matteo.c...@alice.it
Dear Simon and Ajay, Thanks you so much for your attention in this matter. I appreciate your suggestions and I evaluate them carefully. I hope to interpret correctly the three your solutions: - LOCK_TCPIP_CORE / UNLOCK_TCPIP_CORE. They allow to access in exclusive way to TCIPIP mechanism. Ho