Making a website like pingdom – how is it programmed? [closed]

You can do a dns lookup with gethostbyaddr, create a connection with fsockopen, write the HTTP request, wait for the response etc. You can calculate the time after each step.

We at www.downnotifier.com use similar ways.

Leave a Comment