🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ping

#3347
From: Remy Lebeau (TeamB)
Date: Sat, 22 Oct 2005 02:08
16 lines
1582 bytes
"BJ" <caophong@gmail.com> wrote in message
news:43596ace$1@newsgroups.borland.com...

> I am insterested in how programaticially ping an IP.

That is exactly what the TIdIcmpClient component of the Indy library does.

> What type of info do I need to send out to a socket so I can
> receive a response from the IP device.

Pinging is a very low-level operation.  It is not performed using a TCP or
UDP socket.  It uses a RAW socket instead.


Gambit
Technical Details
Message-ID: <43599ea1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4359581c$1@newsgroups.borland.com> <43595cc0$1@newsgroups.borland.com> <43596ace$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a62fd42fe21a3c49
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References:  <4359581c$1@newsgroups.borland.com> <43595cc0$1@newsgroups.borland.com> <43596ace$1@newsgroups.borland.com>
Subject: Re: Ping
Date: Fri, 21 Oct 2005 19:08:27 -0700
Lines: 18
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: 68.69.17.41
Message-ID: <43599ea1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1129946785 68.69.17.41 (21 Oct 2005 19:06:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail