winapi - How many requests does IcmpSendEcho2 send? -


icmpsendecho2 documentation says:

the replybuffer contains icmp echo responses, if any.

for icmp, if 1 request sent, wouldn't 0 or 1 responses expected?

if that's case, mean icmpsendecho2 can send multiple requests since can receive multiple responses? , if so, there way find out how many requests sent?

the goal of try , packet loss %, knowing how many requests sent needs known.

icmpsendecho2() sends 1 request, can generate multiple responses. output array of responses, have make sure array large enough receive of responses.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -