Resolved IPv4/IPv6 addresses of the service host.
Optional
binaryDecoded binary TXT record key-value pairs.
Readonly
fqdnFully qualified domain name (e.g., MyPrinter._ipp._tcp.local).
Readonly
hostHostname of the machine offering the service (SRV record target).
Readonly
lastLast time the service was seen (in milliseconds since the Unix epoch).
Readonly
nameShort instance name of the service (first label of the FQDN).
Readonly
portTCP or UDP port on which the service is running.
Optional
protocolNetwork protocol used by the service (_tcp or _udp).
Optional
rawRaw TXT record data as received over the network.
Readonly
refererNetwork info about where the service response came from.
Subtypes advertised by the service for selective discovery.
Readonly
ttlTime-to-live value in seconds.
Optional
ttlTimer for checking TTL expiration.
Optional
txtDecoded TXT record key-value pairs.
Optional
typeThe registered service type (e.g., _http, _ipp).
Represents a discovered mDNS/DNS-SD service instance, as defined in the DNS-Based Service Discovery specification.
A
DiscoveredService
is constructed from multiple DNS resource records typically found in an mDNS response:All records are typically retrieved from a single mDNS response.
See