[Lazarus] Detecting if a remote web server is running

Richard Mace richard.mace at gmail.com
Thu Oct 30 21:42:30 CET 2014


Thanks for everyone's replies, very helpful.

Richard

On 30 October 2014 14:42, silvioprog <silvioprog at gmail.com> wrote:

> On Thu, Oct 30, 2014 at 11:39 AM, waldo kitty <wkitty42 at windstream.net>
> wrote:
>
>> 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...
>
>
> +1
>
> Like this:
> http://lists.lazarus.freepascal.org/pipermail/lazarus/2014-October/089112.html
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141030/3fcc6f74/attachment-0003.html>


More information about the Lazarus mailing list