Solved

Winsock Control: Programming Ping Util

Posted on 1998-10-13
4
446 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 250 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

688 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