LaserWeb / lw.comm-server

Unified communications server for LaserWeb4 (and other frontends)
GNU General Public License v3.0
38 stars 46 forks source link

Adding ARP to make network discovery of machines #50

Open jorgerobles opened 7 years ago

jorgerobles commented 7 years ago

Hi @cprezzi Could we add ARP network discovery to the server? I've been asked by @DouglasPearless (a DarklyLabs developer) to check candidate machines on local network. I've suggested https://github.com/TheThingSystem/node-arp-a so we can send that addresses to frontend via server like USB devices are done.

tbfleming commented 7 years ago

From node-apr-a's readme: "That's possible for Linux and Mac OS." The context of this quote is a little unclear. Does node-apr-a support Windows?

jorgerobles commented 7 years ago

Seems to. ARP is a windows command too (https://www.computerhope.com/arphlp.htm). The module unifies ARP answers.

Another candidate is https://github.com/skepticfx/arpjs uses pcap lib