mdns-discovery
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -116,3 +116,6 @@ "use strict"; | ||
var client = dgram.createSocket({ type: this.options.type, reuseAddr: this.options.reuseAddr }); | ||
//var client = dgram.createSocket({ type: this.options.type, reuseAddr: this.options.reuseAddr }); | ||
var parm = process.version.substr(0, 5) === 'v0.10' ? this.options.type : { type: this.options.type, reuseAddr: this.options.reuseAddr }; | ||
var client = dgram.createSocket(parm); | ||
@@ -123,3 +126,3 @@ client.on("message", function(message, rinfo) { | ||
client.on("listening", function() { | ||
debug("listening on " + client.address()); | ||
debug("listening on ", client.address()); | ||
@@ -126,0 +129,0 @@ client.setBroadcast(this.options.broadcast !== false); |
{ | ||
"name": "mdns-discovery", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Multicast DNS", | ||
@@ -5,0 +5,0 @@ "author": { |
161760
296