mdns_query_srv() function
Query mDNS for SRV record
Arguments
instance_name
service instance name
service_type
service type (_http, _arduino, _ftp etc.)
proto
service protocol (_tcp, _udp, etc.)
timeout
time in milliseconds to wait for answer.
result
pointer to the result of the query
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