[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • 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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

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