|
-
Aug 6th, 2001, 01:39 AM
#1
Thread Starter
Junior Member
Ping Utilities
Hi I have been working with the ping modules and classes that I got from www.freevbcode.com at first they seemed to be working fine but discovered when I ran my programe on a busy machine the modules timeout. Resulting in a no reply when the server is online I played with the Timeout settings but no luck there. If anyone had the same problem or somthing please help me
thanks.
-
Aug 9th, 2001, 04:00 PM
#2
Addicted Member
I am working on a multithreaded ping object. It won't be done for some time though.
I did have a quick look at the site you mentioned, but there was a lot of results when I searched for 'ping'.
I can tell you that most people use ICMP.DLL to perform a ping. Apparently ICMP.DLL was suspose to be a temporary MS solution - lol. Even the ping.exe uses it. Because of MS's status of ICMP.DLL you may not find much help.
However, you can create your own ping be creating your own packet and using sockets to send it.
-
Aug 10th, 2001, 03:41 AM
#3
Ping is just not that big a deal.
Here is sample code that provides full ping functionality using ICMP in about 60 lines of code minus the data defs.
http://www.mvps.org/vbnet/code/network/ping.htm
-
Aug 10th, 2001, 10:33 AM
#4
Addicted Member
The code for ICMP Ping from VB is everywhere - your right, it's not that big a deal to use it. I think he should post the code he is using.
-
Aug 13th, 2001, 12:33 AM
#5
Thread Starter
Junior Member
I use more or less the same code as at the link above, the problem is sometimes it returns a failed ping when it used an ip address that are suposed to work. I am running a much smaller app now to see if the error is occurs somewhere else but I don't know why it would return an error I'm sure it uses a valid IP and it still returns a failed Ping for some reason. Is it posible that the ping fuction can fail because of other events or code interfering after I called the Ping fuction?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|