Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/watson/bonjour
/ functions
Functions
29 in github.com/watson/bonjour
⨍
Functions
29
◇
Types & classes
0
↓ 16 callers
Function
test
(name, fn)
test/bonjour.js:35
↓ 2 callers
Function
announce
* Initial service announcement * * Used to announce new services when they are first registered. * * Broadcasts right away, then after 3 seconds,
lib/registry.js:129
↓ 2 callers
Function
getAddressesRecords
(host)
test/service.js:7
↓ 2 callers
Function
teardown
* Stop the given services * * Besides removing a service from the mDNS registry, a "goodbye" * message is sent for each service to let the network
lib/registry.js:162
↓ 1 callers
Function
Bonjour
(opts)
index.js:9
↓ 1 callers
Function
buildServicesFor
(name, packet, txt, referer)
lib/browser.js:146
↓ 1 callers
Function
done
(exists)
lib/registry.js:114
↓ 1 callers
Function
getAddresses
()
test/bonjour.js:10
↓ 1 callers
Function
goodbyes
(name, packet)
lib/browser.js:136
↓ 1 callers
Function
isDuplicateRecord
(a)
lib/mdns-server.js:101
↓ 1 callers
Function
port
(cb)
test/bonjour.js:24
↓ 1 callers
Function
probe
* Check if a service name is already in use on the network. * * Used before announcing the new service. * * To guard against race conditions where
lib/registry.js:78
↓ 1 callers
Function
register
(record)
lib/mdns-server.js:23
↓ 1 callers
Function
rrA
(service, ip)
lib/service.js:82
↓ 1 callers
Function
rrAaaa
(service, ip)
lib/service.js:91
↓ 1 callers
Function
rrPtr
(service)
lib/service.js:52
↓ 1 callers
Function
rrSrv
(service)
lib/service.js:61
↓ 1 callers
Function
rrTxt
(service)
lib/service.js:73
↓ 1 callers
Function
unique
()
lib/mdns-server.js:109
↓ 1 callers
Function
unregister
(record)
lib/mdns-server.js:37
Function
Browser
* Start a browser * * The browser listens for services by querying for PTR records of a given * type, protocol and domain, e.g. _http._tcp.local.
lib/browser.js:30
Function
Registry
(server)
lib/registry.js:12
Function
Server
(opts)
lib/mdns-server.js:10
Function
Service
(opts)
lib/service.js:15
Function
matchRR
(rr)
lib/registry.js:110
Function
onresponse
(packet)
lib/registry.js:99
Function
send
()
lib/registry.js:86
Function
start
(registry, opts)
lib/registry.js:36
Function
stop
(registry, cb)
lib/registry.js:57