I need a c++ program that will check if a website is working or not.
Will try to connect to www.example.com
and if the connection is succesfull to retrieve the header sent and check for the header code 200 OK.
The script will return TRUE or FALSE
I need the source to be compiled in linux.