Embedded TCP/IP stack: fnet_mdns_init

FNET

fnet_mdns_desc_t fnet_mdns_init ( struct fnet_mdns_params params)

Initializes Multicast DNS (mDNS) server/responder.

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

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-2018 by Andrey Butok. http://fnet.sourceforge.net