title: Discovering embedded device in local network?
body: <p>I am trying to build an embedded device that would be connected to a router.
  But I want to be able to know if the device is connected to the router or not using a PC or Mobile.</p>
  
  <p>For example:
  How can the PC detect if the google chromecast is connected on the same network or not ?</p>
  
  <ul>
  <li>Do I need to communicate with each IP in the network on a specific port to ask ?</li>
  <li>Or do I need to let the embedded device broadcast some information every N seconds ?</li>
  </ul>
  
  <p>Thanks,</p>