Hello code gurus!
I was thinking of a hypothetical situation here, maybe you can give me some tips.

Imagine an app (ANSI C & winAPI) that would use the ms icmp API (icmp.dll) to ping 3 hosts from time to time and keep the 3 respective text fields updated with the replies time.

So it send ping packet to ip1, ip2 and ip3 in that order. What if the replies return in other order (ip2, ip3, ip1 for example)?

How could an app deal with that?