• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

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.
0
Lee W, MVP
Asked:
Lee W, MVP
  • 3
1 Solution
 
mcixCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now