title: Java ARP Scanner
body: <p>I need to write a java program, that gets all the computer network interfaces and scans for IP addresses and MAC addresses within the subnet.</p>
  
  <p>I'm not exactly sure how to do that, but I found there's a method called:</p>
  
  <pre><code>Arping.scan(deviceName, network, mask, timeout);
  </code></pre>
  
  <p>Is it what I'm looking for? What does it return? There aren't a lot of comments, and I'm new to this, so I can't figure out myself. Please help!</p>