PDA

Click to See Complete Forum and Search --> : Programming a VB Ping Command ?


Phreakazoid
Aug 2nd, 1999, 12:27 AM
Hi,

I work for a company wich has a large WAN/LAN network topology and I had an idea to program myself a little proggie wich checks every 5 minutes if the routers are still available, the easiest way to do this is to ping the router. I would like to know if I there is an api or a self-made function wich emulate the ping command, al it needs to do is to check if he is getting a reply ;-), if it is possible the delay would be nice to.
The idea is to make a dynamic table wich holds on the one side all the site information like adress, network topology used and so on and ofcourse the IP adress of the router, I already have a special activex to create graphical maps, so I can color an site in failure red for example.

Feel free to comment and add some of your own suggestions.

Greetz
Phreakazoid

Aug 2nd, 1999, 02:19 PM
Check at vbnet they have an example of using ping in vd using the icmp.dll

http://www.mvps.org/vbnet/code/network/ping.htm

Hope is helps
-Azzmodan

Phreakazoid
Aug 3rd, 1999, 11:52 AM
The code i found on VBNET is exactly what does the trick, thanx !!