Embedded TCP/IP stack  4.7.0

◆ fnet_mdns_init()

fnet_mdns_desc_t fnet_mdns_init ( fnet_mdns_params_t params)

Initialize Multicast DNS (mDNS) server/responder.

Parameters
paramsInitialization parameters defined by fnet_mdns_params_t.
Returns
This function returns:
  • mDNS server descriptor if no error occurs.
  • 0 if an error occurs.
See also
fnet_mdns_release(), fnet_mdns_params_t

This function initializes the Multicast DNS (mDMS)server/responder.
It allocates all needed resources and registers the mDNS service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the mDNS service routine in the background.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net