IP*Works! 2016 Java Edition
IP*Works! 2016 Java Edition
Questions / Feedback?

MulticastGroup Property

Multicast group to join or leave.

Syntax

public String getMulticastGroup();
public void setMulticastGroup(String multicastGroup);

Remarks

This property contains the multicast group to join or leave. Multicast groups are joined by assigning values to this property after the bean is activated. More than one group may be joined at the same time. To define which interface to use, the ReceiveInterface property is used.

Determining whether a group is left or joined is done by setting the first letter of MulticastGroup is "-" or "+". The default operation is join.

To remove the bean from a multicast group once it is joined, simply assign this groupname (address) to MulticastGroup prefixed by a minus sign "-".

Example (Joining/Leaving Groups)


MCastControl.Active = true
MCastControl.MulticastGroup = "+231.31.31.31"
MCastControl.MulticastGroup = "+232.32.32.32"

MCastControl.MulticastGroup = "-232.32.32.32"
MCastControl.MulticastGroup = "-231.31.31.31"

Default Value

""

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 Java Edition - Version 16.0 [Build 7353]