Article View: borland.public.cppbuilder.internet.web
Article #1434Re: indy ping exmaple
From: John M.
Date: Fri, 03 Dec 2004 17:17
Date: Fri, 03 Dec 2004 17:17
64 lines
2765 bytes
2765 bytes
Hi remy, now it works, i tried different web sites and get these results: www.borland.com Reply from 192.168.0.3: bytes=72 time=120ms TTL=128 www.gmx.com Reply from 192.168.0.3: bytes=72 time=3ms TTL=128 www.amazon.com Reply from 192.168.0.3: bytes=72 time=2ms TTL=128 it is normal that there is always reply from my ipadress??? when i enter ping www.amazon.com in my console i always get a 100% lost of the data i send. are the results i get right? i looks a bit strange. john "Remy Lebeau (TeamB)" <no.spam@no.spam.com> schrieb im Newsbeitrag news:41af93ff$3@newsgroups.borland.com... > > "John M." <johnnym@yahoo.com> wrote in message > news:41af8bb4@newsgroups.borland.com... > > > the Ping function need two parameters, that is why my code does > > not work. i get this error messages: > <snip> > > Means like "To few parameters in call of '_fastcall > > TIdIcmpClient::Ping(AnsiString,unsigned short)'" > > Specify 0 for the second parameter. That is its default value. > > Since you did not specify which version of BCB you are actualing using, I am > going to assume that you are using a version prior to BCB6. The Delphi > compiler in older BCB versions, particularly BCB5, has a bug where default > parameters for functions and methods are not recognized properly when > generating an HPP header file from Delphi source code. That bug has been > corrected in BCB6. > > > Means like "Pointer of structure on the left site from -> or > > from ->* necessarily > > Change references like this: > > IdIcmpClient1->ReplyStatus->SomeFieldName > > To this instead: > > IdIcmpClient1->ReplyStatus.SomeFieldName > > > Gambit > >
Technical Details
Message-ID:
<41b09f9a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41ae5b3a@newsgroups.borland.com> <41ae71eb@newsgroups.borland.com> <41af0a1b@newsgroups.borland.com> <41af5738$1@newsgroups.borland.com> <41af8bb4@newsgroups.borland.com> <41af93ff$3@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> <41af0a1b@newsgroups.borland.com> <41af5738$1@newsgroups.borland.com> <41af8bb4@newsgroups.borland.com> <41af93ff$3@newsgroups.borland.com> Subject: Re: indy ping exmaple Date: Fri, 3 Dec 2004 18:17:08 +0100 Lines: 66 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: 217.88.156.133 Message-ID: <41b09f9a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102094234 217.88.156.133 (3 Dec 2004 09:17:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail