UdpJoinMulticastSourcesCommand

Namespace inet

UdpJoinMulticastSourcesCommand

class

Control info for letting an UDP socket to join a multicast group only for the selected sources.

see IP_ADD_SOURCE_MEMBERSHIP socket option

Extends

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

Fields

Name Type Description
optionCode
interfaceId int
multicastAddr L3Address
sourceList L3Address[]

Source code

//
// Control info for letting an UDP socket to join a multicast group
// only for the selected sources.
//
// see IP_ADD_SOURCE_MEMBERSHIP socket option
class UdpJoinMulticastSourcesCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_JOIN_MCAST_SRC;
    int interfaceId;
    L3Address multicastAddr;
    L3Address sourceList[];
}

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