PDA

Click to See Complete Forum and Search --> : Multithreaded Ping


vladislav24
May 24th, 2001, 06:21 AM
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

Cander
May 24th, 2001, 08:32 AM
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.

JoshT
May 24th, 2001, 10:52 AM
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.

seoptimizer2001
May 24th, 2001, 11:01 AM
There is a multithreaded downloader at PlanetSourceCode that works, maybe you could modify that to your needs.