margau / dmxnet

ArtNet-DMX-sender and receiver for nodejs
MIT License
69 stars 22 forks source link

Add hosts options to bind ipv4 addr #27

Closed gaelhuot closed 4 years ago

gaelhuot commented 4 years ago

Little change to allow binding ipv4 interfaces instead of all Take all interfaces if options isn't specified

Exemple : var dmx = new dmxlib.dmxnet({ verbose: 1, oem: 0, sName: "Text", lName: "Long description", hosts : [ "127.0.0.1", "172.16.2.116" ] });

margau commented 4 years ago

Thanks for the PR, seems good. Cloud you add the new option to the documentation in the README? Will merge and publish then.

gaelhuot commented 4 years ago

You're welcome! It's done, you can merge.