OptionaldisabledThe service won't advertise ipv6 address records. This can be used to simulate binding on 0.0.0.0. May be combined with restrictedAddresses.
OptionaldomainAdds ability to set custom domain. Will default to "local". The domain will also be automatically appended to the hostname.
OptionalhostnameDefines a hostname under which the service can be reached. The specified hostname must not include the TLD. If undefined the service name will be used as default.
Instance name of the service
OptionalportPort of the service. If not supplied it must be set later via CiaoService.updatePort BEFORE advertising the service.
OptionalprotocolThe protocol the service uses. Default is TCP.
OptionalrestrictedIf defined it restricts the service to be advertised on the specified ip addresses or interface names.
If an interface name is specified, ANY address on that given interface will be advertised (if an IP address of the given interface is also given in the array, it will be overridden). If an IP address is specified, the service will only be advertised for the given addresses.
Interface names and addresses can be mixed in the array. If an ip address is given, the ip address must be valid at the time of service creation.
If the service is set to advertise on a given interface, though the MDNSServer is configured to ignore this interface, the service won't be advertised on the interface.
OptionalsubtypesOptional array of subtypes of the service. Refer to ServiceType for some known examples.
OptionaltxtIf defined, a txt record will be published with the given service.
Type of the service.
Service options supplied when creating a new ciao service.