🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Anyone know how to Ping a host using TPowersock?

#4638
From: Remy Lebeau (TeamB)
Date: Mon, 10 Jan 2005 07:57
17 lines
1639 bytes
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message
news:41e09242$1@newsgroups.borland.com...

> Using  TPowersock or TCustomSocket.

Pinging requires a lower level kind of socket than those components support.
Indy (http://www.indyproject.org) and ICS (http://www.overbyte.be) both have
components capable of pinging.  The problem is that special OS rights are
required in order to use such sockets.  In cases where OS rights do not
allow that kind of access, your only other option is to either shell out the
OS's use command-line ping utility and parse its output, or else access
Microsoft's undocumented (but documented by third-parties) ICMP.DLL file
directly.


Gambit
Technical Details
Message-ID: <41e2355c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41e09242$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,70d12de427aa1218
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: <41e09242$1@newsgroups.borland.com>
Subject: Re: Anyone know how to Ping a host using TPowersock?
Date: Sun, 9 Jan 2005 23:57:53 -0800
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: 68.69.17.41
Message-ID: <41e2355c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105343836 68.69.17.41 (9 Jan 2005 23:57:16 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail