mdns_service_remove_for_host() function
Remove service from mDNS server with hostname
Arguments
service_type
service type (_http, _ftp, etc)
proto
service protocol (_tcp, _udp)
hostname
service hostname. If NULL, local hostname will be used.
Return value
- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_NOT_FOUND Service not found - ESP_ERR_NO_MEM memory error
![]()
esp_err_t mdns_service_remove_for_host(const char *instance, const char *service, const char *proto, const char *host)
mdns_service_remove_for_host() is called by 2 functions and calls 12 functions:
![]()
mdns_service_remove_for_host()
mdns_service_remove_for_host() reads 12 variables and writes 2 variables:
![]()
mdns_service_remove_for_host()