Socket
Socket
Sign inDemoInstall

mdns-discovery

Package Overview
Dependencies
3
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.5 to 0.2.6

7

mdns-discovery.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc