Created
June 23, 2015 12:17
-
-
Save alanhortz/08a7945ee0d3f2da8c9e to your computer and use it in GitHub Desktop.
Node.js app advertising Network Service Discovery on the network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mdns = require('mdns'); | |
var ad = mdns.createAdvertisement(mdns.tcp('http'),3000, {name: 'Node Server'}); | |
ad.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment