🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ping

#1425
From: billaras
Date: Wed, 16 Feb 2005 10:50
15 lines
1530 bytes
(this question is also posted in students)

i would like to ping a client  ,i tryed to use tIdIcmpClient ,the code i
wrote is..
void __fastcall TForm1::Button1Click(TObject *Sender)
{
IdIcmpClient1->Host=Edit1->Text;
  IdIcmpClient1->Ping();
Memo1->Lines->Add(IdIcmpClient1->ReplyStatus.MsRoundTripTime);

}well when i execute the code many times fast i get a 0 value returned ,is
this normal?
also if i am behind a proxy server how can i declare which is the gateway
?beacause i can only ping the computers in my lan
network,noone in the internet...
Technical Details
Message-ID: <42132571@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,c5a3fcdc89c311f9,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "billaras" <billaras1234@hotmail.com>
From: "billaras" <billaras1234@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: ping
Date: Wed, 16 Feb 2005 12:50:29 +0200
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 195.251.45.43
Message-ID: <42132571@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108551025 195.251.45.43 (16 Feb 2005 02:50:25 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail