[Lazarus] Detecting if a remote web server is running

waldo kitty wkitty42 at windstream.net
Thu Oct 30 15:39:41 CET 2014


On 10/30/2014 7:29 AM, Felipe Monteiro de Carvalho wrote:
> On Thu, Oct 30, 2014 at 10:44 AM, Richard Mace <richard.mace at gmail.com> wrote:
>> Hi All,
>> What's the most reliable way of detecting whether a remote website is
>> responding?
 >
 > maybe ping?

ping might tell you if the IP address is active but that's all... it won't tell 
you if the server is running or servicing requests... you have to request 
something from the server to see if it is servicing requests... the easiest and 
smallest would be to request the headers (only) from the root...

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.




More information about the Lazarus mailing list