Winsock Control: Programming Ping Util

I want to write a program that will ping machines listed in a database.  From what I understand of ping it uses port 7 and the data I receive is essentially just an echo of the data sent from my program.  Can someone give me a coded example of how I might initiate the "ping" and display the results using a button and a label or text box (VB5, no SP)

I'd expect this will be easy for someone who knows the control well, so if you can give me something to cut and past into my program, I've made this question worth a lot.
LVL 97
Lee W, MVPTechnology and Business Process AdvisorAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mcixConnect With a Mentor Commented:
Instead of me typing a whole bunch...

Go to this URL:

http://support.microsoft.com/support/kb/articles/q177/6/99.asp
0
 
Lee W, MVPTechnology and Business Process AdvisorAuthor Commented:
Looks to be exactly what I was looking for.
0
 
mcixCommented:
Good deal!
0
 
mcixCommented:
Here's another good reference:

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

From novice to tech pro — start learning today.