Embedded TCP/IP stack: fnet_mdns_service_get_by_type

FNET

fnet_mdns_service_desc_t fnet_mdns_service_get_by_type ( fnet_mdns_desc_t  mdns_desc,
const char *  service_type 
)

Looks for a registered mDNS application service according to the specified type.

Parameters
mdns_descmDNS server descriptor.
service_typeService Type. Null-terminated string. Example "_http._tcp".
Returns
This function returns:
  • mDNS service descriptor that matches the service_type parameter.
  • FNET_NULL if there is no match.
See also
fnet_mdns_service_register()

This function is looking for a a registered mDNS application service matching the specified service type.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net