Indy 9
TIdIPMCastBase
Hierarchy, Properties, Methods, Events, See Also, Unit: IdIPMCastBase
Implements the common properties and method for Multicast clients and servers.
TIdIPMCastBase = class(TIdComponent)
Unit
IdIPMCastBase
Description
TIdIPMCastBase is a TIdComponent descendant that implements the the common functionality for both client and server components that support IP multicasting, as described in the Internet Standards documents:

  • RFC 1112 - Host Extensions for IP Multicasting. (http://www.rfc-editor.org/rfc/rfc1112.txt)

  • RFC 1458 - Requirements for Multicast Protocols. (http://www.rfc-editor.org/rfc/rfc1458.txt)

TIdIPMCastBase implements properties and abstract methods that allow access to and control of the MulticastGroup address, Port, Active state, and Binding for the component.

Applications do not create instances of TIdIPMCastBase. Use TIdIPMCastClient or TIdIPMCastServer to provide Multicast datagram support.


TIdIPMCastBase.Create
TIdIPMCastBase, See Also
Constructor for the object instance.
constructor Create(AOwner: TComponent); override;
Parameters
AOwner: TComponent
Owner of the object instance.
Description
Create is the constructor for the object instance, and calls the inhertied Create methods using AOwner as the owner of the object instance. Create assigns the default value Id_IPMC_All_Systems to the MultiCastGroup property prior to exiting from the method.

TIdIPMCastBase.IsValidMulticastGroup
TIdIPMCastBase, See Also
Indicates that an IP address is a member of a multicast group address.
function IsValidMulticastGroup(Value: string): Boolean;
Parameters
Value: string
Multicast Group IP address to be verified in the method.
Description
IsValidMulticastGroup is a Boolean function that indicates if the IP address in Value represents an IP address that is a member of a multicast group address. IsValidMulticastGroup returns True when the first byte of the dotted-decimal IP address is in the range identified by the constants IPMCastLo through IPMCastHi. IsValidMulticastGroup will return False when the IP address is not in the required range, or Value contains a host name instead of a dotted-decimal IP address.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.