I have a need to use the IcmpSendEcho2 API command asynchronously using the ApcRoutine callback routine.
A question I have is what would the signature look like for the ApcRoutine callback routine I need to define?
When I call IcmpSendEcho2 what would the third parameter look like?
I have some 15 proxy request to be sent. should I request with IcmpSendEcho2 only once or multiple times.
If I will need to send many IcmpSendEcho2 requests at one time. How will the callback ApcRoutine know which IcmpSendEcho2 call is done. I guess this is where the ApcContext parameter comes into play?
I can't find any example code on MSDN or elsewhere that demonstrates how to use the IcmpSendEcho2 command asynchronously.