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?