Optional
disabledThe service won't advertise ipv6 address records. This can be used to simulate binding on 0.0.0.0. May be combined with restrictedAddresses.
Optional
domainAdds ability to set custom domain. Will default to "local". The domain will also be automatically appended to the hostname.
Optional
hostnameDefines 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
Optional
portPort of the service. If not supplied it must be set later via CiaoService.updatePort BEFORE advertising the service.
Optional
protocolThe protocol the service uses. Default is TCP.
Optional
restrictedIf 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.
Optional
subtypesOptional array of subtypes of the service. Refer to ServiceType for some known examples.
Optional
txtIf defined, a txt record will be published with the given service.
Type of the service.
Service options supplied when creating a new ciao service.