UdpLeaveMulticastGroupsCommand

Namespace inet

UdpLeaveMulticastGroupsCommand

class

Control info for letting an UDP socket leave multicast groups. To set the option, send a message to the Udp module with kind=UDP_C_SETOPTION and an and instance of this control info class attached.

See also: UdpCommandCode

Extends

Name Type Description
UdpSetOptionCommand (unknown -- not in documented files)

Fields

Name Type Description
optionCode
multicastAddr L3Address[]

Source code

//
// Control info for letting an UDP socket leave multicast groups.
// To set the option, send a message to the ~Udp module with kind=UDP_C_SETOPTION
// and an and instance of this control info class attached.
//
// @see ~UdpCommandCode
//
class UdpLeaveMulticastGroupsCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_LEAVE_MCAST_GRP;
    L3Address multicastAddr[];
}

File: src/inet/transportlayer/contract/udp/UdpControlInfo.msg