-
Multithreaded Ping
Hi
My aim is to perform icmp Ping on group of ip numbers multithreadly.
Normaly VB pings ips and returns ping info once a time on after another. I know it is possible to do this mulithreadly because i've seen other programs doing so.
I've searched the whole web for source/examples but didn't find any.
Please help me out
/vladislav
-
I doubt those other programs are doing what you think they are. They would soing a normal loop like any other program would to do that.
Besides VB is not a multithreaded language.
-
What if you write an ActiveX dll that has the ping function set up to perform asynchronously using callbacks? You then call that dll's ping function in a loop in your app, and when the loop is done wait for the callbacks.
-
There is a multithreaded downloader at PlanetSourceCode that works, maybe you could modify that to your needs.