Internet Direct (Indy)
Home
PreviousUpNext
TIdStack.IsValidIPv6MulticastGroup Method

Indicates if the specified IP addresss represents a valid IPv6 multicast group address.

Pascal
function IsValidIPv6MulticastGroup(
    const Value: string
): Boolean;
Parameters 
Description 
Value 
IP Address to examine. 

Boolean - True when the IP address is a valid multicast group address.

IsValidIPv6MulticastGroup is a Boolean function that indicates if the IP addresss specified in Value represents a valid IPv6 multicast group address. 

An IPv6 multicast group addresses are those with the eight high-order bits in the address are set. Other bits in the IP address can indicate if the address is a permanently-assigned (or "well-known") multicast address assigned by the global internet numbering authority, a non-permanent (or "transient") multicast address, and the scope for the multicast group. 

For IPv6, the following are pre-defined well-known Multicast Addresses 

 

FF00:0:0:0:0:0:0:0 
FF01:0:0:0:0:0:0:0 
FF02:0:0:0:0:0:0:0 
FF03:0:0:0:0:0:0:0 
FF04:0:0:0:0:0:0:0 
FF05:0:0:0:0:0:0:0 
FF06:0:0:0:0:0:0:0 
FF07:0:0:0:0:0:0:0 
FF08:0:0:0:0:0:0:0 
FF09:0:0:0:0:0:0:0 
FF0A:0:0:0:0:0:0:0 
FF0B:0:0:0:0:0:0:0 
FF0C:0:0:0:0:0:0:0 
FF0D:0:0:0:0:0:0:0 
FF0E:0:0:0:0:0:0:0 
FF0F:0:0:0:0:0:0:0 

 

Additional IPv6 multicast addresses are defined and registered by the IANA (Internet Assigned Numbering Authority). 

IsValidIPv6MulticastGroup calls MakeCanonicalIPv6Address with the IP address specified in Value to ensure that it contains an IP address that can be represented using the canonical form for IPv6 addresses. If Value is not a valid IP address, or contains a host name instead of a numerical IP address, the retrun value for the method is False. 

IsValidIPv6MulticastGroup returns True if the eight high-order bits in Value are represented using the hexadecimal value \xFF. 

Use IsValidIPv4MulticastGroup to determine if an IP address is a valid IPv4 multicast group address.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.