Hi,
I would like to check before doing some networking/backup stuffs that internet is available.
(c pure programming lang. (not in c++))
I could find some solution but arent adapted to Linux so much.
http://stackoverflow.com/questions/8...net-connection
Would you know the best way?
for instance, in bash, i use :
Code:
curl --silent --head http://www.google.com/ |egrep Found
libcurl is not portable much.
I would that it works as well under ms windows.
regards