🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #821

Re: Checking If Online

#821
From: Remy Lebeau (TeamB)
Date: Wed, 19 Sep 2007 03:49
20 lines
1621 bytes
"B" <traderr@gmail.com> wrote in message
news:46f09939@newsgroups.borland.com...

> there is no ping("www.dvdrental.com") command...

There is if you use a ping component/class ;-)

> the TidicmpClient doesn't work for me

You need to be more specific.  Just saying that something does not work says
nothing about the actual problem you are having with it.

> I would also like to get the IP address of the domain pinged.

You need to perform a separate DNS lookup for that.  Indy has a
ResolveHost() method for that in the TIdStack class.


Gambit
Technical Details
Message-ID: <46f09c6d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46eed306@newsgroups.borland.com> <46ef1289$1@newsgroups.borland.com> <46f09939@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5f7de83ce8e2e129
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46eed306@newsgroups.borland.com> <46ef1289$1@newsgroups.borland.com> <46f09939@newsgroups.borland.com>
Subject: Re: Checking If Online
Date: Tue, 18 Sep 2007 20:49:15 -0700
Lines: 22
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: 75.83.29.61
Message-ID: <46f09c6d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190173805 75.83.29.61 (18 Sep 2007 20:50:05 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail