Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



UDPTransport.LeaveMulticastGroup

UDPTransport     See also    


Removes the transport from the list of sockets using the given multicast address.

Declaration

[C++]
    public LeaveMulticastGroup( char* GroupAddress );

[Pascal]
    constructor LeaveMulticastGroup( GroupAddress : string );

[VB6]
    Sub IMCXUDPTransport2.LeaveMulticastGroup(GroupAddress As String)

[ActiveX]
    void IMCUDPTransport2.LeaveMulticastGroup( [in] BSTR GroupAddress );

[C#]
    public void LeaveMulticastGroup( string GroupAddress);

[VB.NET]
    Public Sub LeaveMulticastGroup(ByVal GroupAddress As String)

[Java]
    public void LeaveMulticastGroup( String GroupAddress);

[Java ME]
    not implemented;

[DLL]
    void __stdcall MCUDPTransportLeaveMulticastGroup( HMCUDPTransport h, char* GroupAddress);

Parameters

  • [DLL]h - handle to UDPTransport object that was returned by Create method

  • GroupAddress - Multicast address of the group

Description

    Use this method to remove multicast socket from the group. Note, that if the transport is active, this method restarts the transport so that sockets are initialized without participation in multicast group.

See also:     LeaveMulticastGroup    

Discuss this help topic in MsgConnect Forum