title: Find IP adresses and ports of devices connected to the same network
body: <p>I'm building an application for iOS and Android in angular/cordova where I want to find the IP and port of a certain device on my local network (dynamically), to be able to send post requests and talk to it through its API. </p>
  
  <p>The API says that I could use <code>SSDP</code> or <code>DNS-SD</code> to discover the device. I've looked up these two helpers that could help me get a list of all connected devices on the network:</p>
  
  <ul>
  <li><a href="https://www.npmjs.com/package/mdns-js" rel="nofollow">https://www.npmjs.com/package/mdns-js</a> </li>
  <li><a href="https://github.com/diversario/node-ssdp" rel="nofollow">https://github.com/diversario/node-ssdp</a></li>
  </ul>
  
  <p>But as far as I'm concerned node is a server-side framework, I can't just "require" the node modules in my app. Whats the most logical way to go here? I simply want to <strong>get a list of all connected devices on my network</strong>, is this hard to achieve?</p>