Require: IP-Symcon >= 5.3
array ZC_QueryServiceType (int $InstanceID, string $RegType, string $Domain (optional))
ID of the DNS-SD control to be requested
The RegType of the service
Domain of the service
Returns all found services as an array.
Queries the services of the DNS-SD control with the ID InstanceID and the appropriate RegType RegType and the domain Domain.
The Domain is optional and can contain an empty string
ZC_QueryServiceType(12345, "_http._tcp", ""); // Sample output /* Array (  => Array ( [Name] => NAS [Type] => _http._tcp. [Domain] => local. ) ) */