lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Where to call mdns_resp_add_netif?


From: Dave Nadler
Subject: Re: [lwip-users] Where to call mdns_resp_add_netif?
Date: Thu, 24 Oct 2019 19:19:27 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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,
Best Regards. Dave

On 10/22/2019 5:15 PM, Dave Nadler wrote:

I'm using LwIP 2.1.2 with DHCP, which works great.
I need to add MDNS for networks where the name provided to DHCP doesn't get resolved by clients.
I think I need to call mdns_resp_add_netif(struct netif *netif, char *hostname, u32_t dns_ttl)
after DHCP provides an address - where is the correct place to make that call?
Thanks!
Best Regards, Dave

-- 
Dave Nadler, USA East Coast voice (978) 263-0097, address@hidden, Skype 
 Dave.Nadler1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]