文件名称:multicast-dns:纯Javascript中的低级多播DNS实施
文件大小:8KB
文件格式:ZIP
更新时间:2024-05-12 13:23:44
JavaScript
多播dns 纯Javascript中的低级多播DNS实施 npm install multicast-dns 用法 var mdns = require ( 'multicast-dns' ) ( ) mdns . on ( 'response' , function ( response ) { console . log ( 'got a response packet:' , response ) } ) mdns . on ( 'query' , function ( query ) { console . log ( 'got a query packet:' , query ) } ) // lets query for an A record for 'brunhilde.local' mdns . query ( { questions : [ { n
【文件预览】:
multicast-dns-master
----.travis.yml(62B)
----index.js(5KB)
----test.js(7KB)
----package.json(894B)
----LICENSE(1KB)
----example.js(788B)
----appveyor.yml(397B)
----.gitignore(30B)
----README.md(4KB)
----cli.js(1KB)