title: Check internet connection or check internet connection constantly
body: <p>How can i check internet connection in c++ or c, i'm using mac &amp; cant find a good way. If </p>
  
  <p>possible i want to check internet connection constantly' so i can save the users data. </p>
  
  <p>Please provide me with examples, information and ideas. </p>
  
  <p>THanks!</p>