|Subject:||Re: [Indy10] PING?|
|Posted by:||Steve Zimmelman (email@example.com)|
|Date:||Tue, 10 Jan 2006|
Looks like it's gone. The docs still mention it, but there's no sign of it.
And... The version that shipped with D2006 is missing the unit
"fredtheman" <gkdsh0n…@sneakemail.com> wrote in message
> I seem to have installed Indy10 OK, but this code that used to work with
> the version of Indy that comes with D7 no longer compiles, and I couldn't
> find what it's been replaced with in Indy10. Does someone know?
> procedure TForm1.Timer1Timer(Sender: TObject);
> RepStatus: TReplyStatus;
> //PING host
> IdIcmpClient1.Host := '127.0.0.1';
> IdIcmpClient1.ReceiveTimeout := 2000; //2 seconds
> //Works in Indy Delphi 7, no longer works in Indy 10
> //"Undeclared identifier: 'ReplyStatus'"
> if IdIcmpClient1.ReplyStatus.ReplyStatusType=rsTimeOut then begin
[Indy10] PING? posted by fredtheman on Tue, 3 Jan 2006