It is a project I'm working on that shall monitor some IPs at the same time and send an alert if any IP or more IPs are down.

I don't know how to use IcmpSendEcho2. I guess it is the API that supports IPv6.
If I keep the same params and I call IcmpSendEcho2, it crashes