I'm making an application based on networking. The first thing it should do is check if the user has an internet connection.For this I tried using functions given in header like (InternetCheckConnection & ConnectionStat) but whenever I try to compile I get errors similar to this one => reference to `InternetCheckConnectionA@12' so I tried to change compiler (from devc++ to Code::Blocks) but the same problem...
Is there another way to check for internet connection with c?