|
From: | address@hidden |
Subject: | Re: [lwip-users] Where to call mdns_resp_add_netif? |
Date: | Fri, 25 Oct 2019 20:51:03 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Am 25.10.2019 um 01:19 schrieb Dave Nadler:
Hi - Hoping for a bit of help using MDNS. Am I correct in understanding I need to register the IPaddress/netif with MDNS as below? Is there a convenient hook to do this when DHCP receives an IP address? Thanks in advance for any help,
You can attach a callback to a netif that gets called when the address or state changes. That would probably be a good place to do this: See netif_add_ext_callback documentation. Regards, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |