DiscoveryMdns

DiscoveryMdns

Creates an instance of mDNS browser.

Constructor

new DiscoveryMdns(optionsopt)

Source:
See:
Parameters:
Name Type Attributes Description
options Object <optional>

options object

Properties
Name Type Attributes Default Description
name String <optional>
https

Service Name See mDNS Service Types

protocol String <optional>
tcp

Service Protocol to search on, udp or tcp

subtypes Array <optional>

Array of subtypes

timeout Number <optional>
5000

Timeout to stop search

logger logger <optional>

Optional logger

Fires:
  • DiscoveryMdns#event:found
  • DiscoveryMdns#event:stop

Members

browser

Source:
See:
Properties:
Name Type Description
browser Object

mDNS browser

excludeInterfaces

Source:
Properties:
Name Type Description
excludeInterfaces Array

network interfaces that are excluded

name

Source:
Properties:
Name Type Description
name String

Service name

protocol

Source:
Properties:
Name Type Description
protocol String

Service protocol

subtypes

Source:
Properties:
Name Type Description
subtypes Array

Service subtypes to search on

timeout

Source:
Properties:
Name Type Description
timeout Number

search timeout in milliseconds