title: Get all connected IP´s on the Linux machine
body: <p>Recently i was asked a question in an interview which i couldn't do. Anyone got a solution for this?</p>
  
  <pre><code>Grab all connected IP´s on the Linux machine
  check every connected IP if TCP port 1706 is open
  
  if its open &gt; execute command.  CURL ‘http:// some address ’ 
  Else do nothing.
  program will check this every 60 minits
  
  
  
  Plattform Linux Ubuntu Server 12. X64 / x32
  </code></pre>
  
  <p>WAP in C++</p>
  
  <p>Thanks!!</p>