Mdns

Mdns

Creates an instance of mDNS browser.

Constructor

new Mdns(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

Fires:

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

Events

done

Source:

service search finished

Type:
  • Object

found

Source:

service found

Type:
  • Object