How to check a url

how could i get the program to check if a url is open or not?

i already got it to load one with shellexecute but how could i get it so it checks if a site is open so that if it isnt then the process terminates?
Topic archived. No new replies allowed.