I found out that i need to use this functions to implement ipv6 traceroute
Icmp6CreateFile, Icmp6SendEcho2, and Icmp6ParseReplies
and the declaration for each
Icmp6SendEcho2
vb Code:
Declare Function IcmpCloseHandle Lib "ICMP.dll" ( _
ByVal IcmpHandle As Long) As Long
Icmp6SendEcho2
vb Code:
Declare Function IcmpSendEcho2 Lib "ICMP.dll" ( _
ByVal IcmpHandle As Long, _
ByVal hEvent As Long, _
ByVal ApcRoutine As Long, _
ByRef ApcContext As Any, _
ByVal DestinationAddress As Long, _
ByRef RequestData As Any, _
ByVal RequestSize As Long, _
ByRef RequestOptions As Any, _
ByRef ReplyBuffer As Any, _
ByVal ReplySize As Long, _
ByVal Timeout As Long) As Long
Icmp6ParseReplies
vb Code:
Declare Function IcmpParseReplies Lib "ICMP.dll" ( _
ByRef ReplyBuffer As Any, _
ByVal ReplySize As Long) As Long
The point is that I don't know the constants, types and how to connect the remaining pieces together
Help please