Multiple NIC support for WeMo devices (#382)

* Update version of node-ssdp and use explicitSocketBind option to
work with multiple network interface cards. Based on discussion
in [node-ssdp issue #34](https://github.com/diversario/node-ssdp/issues/34)

* Bumping the version number
This commit is contained in:
Stephen Houser
2017-12-02 05:54:47 -05:00
committed by Ben Hardill
parent 22888cd8bd
commit f1c005707d
2 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ WeMoNG.prototype.start = function start() {
//console.log("searching");
var _wemo = this;
_wemo.setMaxListeners(0);
_wemo._client = new Client();
_wemo._client = new Client({'explicitSocketBind': true});
_wemo._client.setMaxListeners(0);
_wemo._client.on('response', function (headers, statusCode, rinfo) {
var location = url.parse(headers.LOCATION);