Enables use of multicast delivery on given address.
Sub IMCXUDPTransport2.JoinMulticastGroup(GroupAddress As String, BindAddress As String, TTL As Long, Loop As Boolean)
void IMCUDPTransport2.JoinMulticastGroup( [in] BSTR GroupAddress, [in] BSTR BindAddress, [in] long TTL, [in] VARIANT_BOOL Loop );
Use this method to add a multicast socket to the group. Adding to the group is necessary to send or receive messages using multicast address.
GroupAddress specifies the multicast address (in range 22.214.171.124-126.96.36.199) to which the messages are sent or from which the messages are received.
BindAddress defines the interface to bind to. This one can be empty, in which case the socket is bound to default interface. Note that binding to default interface doesn't mean "any" interface (as it is with binding regular sockets).
TTL defines the number of gateawys to send the message to. This value is platform-specific, please consult the manual for more details.
Loop defines if the message sent to the multicast address is received by the sender socket.
Note, that if the transport is active, this method restarts the transport so that sockets are initialized with participation in multicast group.