Documentation
ZC_QueryServiceTypes
Require: IP-Symcon >= 5.3
array ZC_QueryServiceTypes (int $InstanceID)
Parameters
InstanceID | ID of the DNS-SD control to be requested |
Returns
Returns all services and information as an array.
Description
Queries the services of the DNS-SD control with the ID InstanceID and returns this as an array.
Example
// Request the registered services of the DNS-SD Control with the ID 12345
ZC_QueryServiceTypes(12345);
// Sample output
/*
Array
(
[0] => Array
(
[Name] => _afpovertcp
[Type] => _tcp.local.
[Domain] => .
)
[1] => Array
(
[Name] => _airplay
[Type] => _tcp.local.
[Domain] => .
)
[2] => Array
(
[Name] => _airtame
[Type] => _tcp.local.
[Domain] => .
)
[3] => Array
(
[Name] => _apple-mobdev2
[Type] => _tcp.local.
[Domain] => .
)
[4] => Array
(
[Name] => _axis-video
[Type] => _tcp.local.
[Domain] => .
)
)
*/