eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
230 stars 131 forks source link

DNS cleint at non-blocking mode #235

Open Hnz2 opened 5 months ago

Hnz2 commented 5 months ago

Hi All,

Does anyone know how have be used NetX Duo DNS client at non blocking mode?

It can be called _nxd_dns_host_by_nameget() with wait_option set to _NX_NOWAIT. When is option set to _NX_NOWAIT response from DNS server is not read using internal call of nx_dns_responseget(). How I can serve DNS server responses from such case? I am not sure how can be called nx_dns_responseget() from my code.

Thank for any advice

Jan