|
-
Apr 3rd, 2013, 02:04 PM
#1
Thread Starter
Lively Member
Multiple PINGs in parallel
Hello!
I have a ping function like s = Ping("1.2.3.4", 10000) that returns whether a host is alive or not.
10000=timeout value in miliseconds
The ping function uses IcmpSendEcho API function.
I want to be able to do multiple pings in parallel, even in case the host is not answering ( during the timeout period ).
I googled and tried using CreateThread API, but it crashes.
Any idea on how to call my ping function asynchronous or other workaround?
Tags for this Thread
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
|