Name
cyg_mdns_init — Initialise mDNS Responder
Synopsis
#include <mdns.h>
cyg_bool cyg_mdns_init(void);
Description
This initialises the common mDNS support. It will normally be called from the application shortly after lwIP initialisation, and performs the basic “start-of-day” initialisation.
![]() | Note |
|---|---|
All of the required lwIP network interfaces should have been added (normally
via a call to the |
Once initialised, it is possible to register services
with cyg_mdns_service_register(),
and then allow the mDNS responder to respond to incoming requests
with cyg_mdns_enable().
Return value
Boolean true if the mDNS sub-system has
initialised OK, or false on failure.
| 2025-10-02 | eCosPro Non-Commercial Public License |


![[Note]](pix/note.png)

