Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pinging in IPv6: Icmp6SendEcho2()

444 views
Skip to first unread message

Fulvio Risso

unread,
Jun 22, 2003, 11:20:14 AM6/22/03
to
Hello everyone.

Does anyone managed to use successfully the Icmp6SendEcho2() (for
sending IPv6 PING packets?)
I'm using the IcmpSendEcho2() (for IPv4) without any problem, but the
Icmp6SendEcho2() used with (more or less) the same parameters causes
an error into IPHLPAPI.DLL.

I'm pretty sure that the implementation of Icmp6SendEcho2() is working
(although I have some doubts that is robust), because the standard
PING.EXE utility in WinXP uses this call for its job.

Does anyone has some working examples for that?
Something I can "borrow" in order to be able to ping in v6?

Thanks a lot,

fulvio

Fulvio Risso

unread,
Jun 23, 2003, 12:49:29 PM6/23/03
to
Hi everyone.

Just to let you know, don't spend time in using the new Icmp*() API.
I managed to make the Icmp6SendEcho2() working (more or less) in
WinXP. Now the IPHLPAPI.DLL does not hang up. For that,
Icmp6SendEcho2() seems to require the 'RequestOptions' parameter
(although the documentation states that 'it can be NULL'). However,
the meaning of the return value is still a mistery for me.

What I discovered is that Icmp*() API are not supported in Windows
2000. Neither the iphlpapi.dll version 5.00.2173.2 (w2k standard) nor
version 5.00.2195.2 (w2k sp3) have any Icmp*() calls in there.
So, please be prepared to upgrade everything to WinXP if you want to
use these calls.
I would like to point out that the documentation states "supported in
Windows 2000 Pro and Server".

So, I decided to abandon that way. I will still use my old code that
pings in IPv4 and IPv6 with some strange and unsupported (but working)
calls.

Good luck to all you, guys,

fulvio


fulvio...@polito.it (Fulvio Risso) wrote in message news:<d805a30b.03062...@posting.google.com>...

Stewart Tansley [MSFT]

unread,
Jun 27, 2003, 1:55:17 PM6/27/03
to
Thanks for sharing your experiences Fulvio. It looks like you found an error
in our documentation. I'm seeking confirmation.

Stewart.
http://www.microsoft.com/ipv6/
http://research.microsoft.com/collaboration/university/


"Fulvio Risso" <fulvio...@polito.it> wrote in message
news:d805a30b.03062...@posting.google.com...

0 new messages