🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1530

Re: indy ping exmaple

#1530
From: John M.
Date: Thu, 02 Dec 2004 12:27
38 lines
1854 bytes
hi remy,

i tried this here:

IdIcmpClient1->Host = "www.borland.com";
IdIcmpClient1->ReceiveTimeout = 1000;
IdIcmpClient1->Ping();
ShowMessage(IdIcmpClient1->ReplyStatus);

But the function needs two parameters

procedure Ping(ABuffer: String = ''; SequenceID: word = 0);

but i have no ideas, what values should i use

any ideas?

john


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> schrieb im Newsbeitrag
news:41ae71eb@newsgroups.borland.com...
>
> "John M." <johnnym@yahoo.com> wrote in message
> news:41ae5b3a@newsgroups.borland.com...
>
> > i try to find a solution to get the ping of a special host. i have
> > search for many questions on this topic before, but i could not
> > find any exmaple.
>
> Have you looked at the TIdIcmpClient component yet?  It has a Ping()
method
> and a ReplyStatus property.
>
>
> Gambit
>
>
Technical Details
Message-ID: <41af0a1b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ae5b3a@newsgroups.borland.com> <41ae71eb@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,fa101c2ed92ef067
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John M." <johnnym@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41ae5b3a@newsgroups.borland.com> <41ae71eb@newsgroups.borland.com>
Subject: Re: indy ping exmaple
Date: Thu, 2 Dec 2004 13:27:01 +0100
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 134.102.117.20
Message-ID: <41af0a1b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101990427 134.102.117.20 (2 Dec 2004 04:27:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail