mdns_lookup_selfhosted_service() function
Look up self hosted services.
Arguments
instance
instance name (NULL for uncertain instance)
service_type
service type (_http, _ftp, etc)
proto
service protocol (_tcp, _udp)
max_results
maximum results to be collected
result
pointer to the result of the search
Return value
- ESP_OK success - ESP_ERR_INVALID_STATE mDNS is not running - ESP_ERR_NO_MEM memory error - ESP_ERR_INVALID_ARG parameter error
mdns_lookup_selfhosted_service() is called by 1 function and calls 4 functions:
![]()
mdns_lookup_selfhosted_service()
mdns_lookup_selfhosted_service() reads 2 variables:
![]()
mdns_lookup_selfhosted_service()