mdns_query_async_new() function
Query mDNS for host or service asynchronousely. Search has to be tested for progress and deleted manually!
Arguments
name
service instance or host name (NULL for PTR queries)
service_type
service type (_http, _arduino, _ftp etc.) (NULL for host queries)
proto
service protocol (_tcp, _udp, etc.) (NULL for host queries)
type
type of query (MDNS_TYPE_*)
timeout
time in milliseconds during which mDNS query is active
max_results
maximum results to be collected
notifier
Notification function to be called when the result is ready, can be NULL
Return value
mdns_search_once_s pointer to new search object if query initiated successfully. NULL otherwise.
mdns_query_async_new() calls 4 functions:
![]()
mdns_query_async_new()
mdns_query_async_new() reads 2 variables:
![]()
mdns_query_async_new()