Link to home
Start Free TrialLog in
Avatar of schardosin
schardosin

asked on

Ping

Hello Friends!!!

A question,
How can I make a ping in the Delphi ?????

Thanks!!!


Rafael Schardosin
Porto Alegre - Brazil
Avatar of use_the_source
use_the_source

Have a look at the ICS by F. Piette : it contains a TPing component. It's using ICMP.DLL though, which is depreciated by Microsoft, at least it was a couple of years ago as support for this dll 'could dissapear in the near future'.  But looks like ICMP.DLL is holding on : MS's own ping.exe is using it.
Another way is using by using raw socket, but that involves needing Administrator rights on a standard installation.  I made a component once that used raw sockets for a ping, but don't have the source around right now.  If I don't forget it, I'll try to have it around next week or so.

Hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of Imagine
Imagine

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Manuel Lopez-Michelone
Manuel Lopez-Michelone
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
schardosin:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.