networking - How to check internet connection with c? -


i'm making application based on networking. first thing should check if user has internet connection.for tried using functions given in header (internetcheckconnection & connectionstat) whenever try compile errors similar 1 => reference `internetcheckconnectiona@12' tried change compiler (from devc++ code::blocks) same problem...

is there way check internet connection c?

inetnetcheckconnection causes linking error because probably(certainly) didn't link wininet.lib http://msdn.microsoft.com/en-us/library/windows/desktop/aa384346%28v=vs.85%29.aspx


Comments