Requires: IP-Symcon >= 5.3
array ZC_QueryServiceType (integer $InstanceID, string $RegType, string $Domain (optional))
InstanceID | ID of the DNS-SD control to be requested |
RegType | The RegType of the service |
Domain (optional) | 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 ( [0] => Array ( [Name] => NAS [Type] => _http._tcp. [Domain] => local. ) ) */