// JP opened flex table

Click to See Complete Forum and Search --> : IPv6 - detecting ICMPV6 port unavailable messages


wotalota
November 27th, 2007, 05:41 PM
The attached test code works running on XP SP2 when an IPv4 addresses is used but fails using IPv6. It is attempting to create a raw socket to listen for ICMP or ICMPV6 messages when a datagram is sent to an unused port. With a sniffer I can see that the ICMPv6 port unavailable message is being received back from the remote, but the raw socket recvfrom does not detect it and times out. The firewall is disabled. It seems that the raw socket might not be setup properly. No errors though and I didn't find any ICMPv6 filtering macros that could be coming into play. Can anyone advise is there something more one needs to do when working with IPv6?

//JP added flex table