[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Winsock Control: Programming Ping Util

Posted on 1998-10-13
4
Medium Priority
?
458 Views
Last Modified: 2013-12-25
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
Comment
Question by:Lee W, MVP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
mcix earned 1000 total points
ID: 1487638
Instead of me typing a whole bunch...

Go to this URL:

http://support.microsoft.com/support/kb/articles/q177/6/99.asp
0
 
LVL 96

Author Comment

by:Lee W, MVP
ID: 1487639
Looks to be exactly what I was looking for.
0
 
LVL 4

Expert Comment

by:mcix
ID: 1487640
Good deal!
0
 
LVL 4

Expert Comment

by:mcix
ID: 1487641
Here's another good reference:

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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question