UdpBlockMulticastSourcesCommand¶
Namespace: inet
class UdpBlockMulticastSourcesCommand
Control info for letting an UDP socket to block multicast traffic from specific sources after joining a multicast group.
see IP_BLOCK_SOURCE socket option
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Base class for UDP socket option control info classes. |
Fields¶
Name |
Type |
Description |
|---|---|---|
optionCode |
||
optionCode |
||
interfaceId |
int |
|
multicastAddr |
||
sourceList |
Source code¶
//
// Control info for letting an UDP socket to block multicast traffic from
// specific sources after joining a multicast group.
//
// see IP_BLOCK_SOURCE socket option
class UdpBlockMulticastSourcesCommand extends UdpSetOptionCommand
{
optionCode = UDP_C_SETOPTION_BLOCK_MCAST_SRC;
int interfaceId;
L3Address multicastAddr;
L3Address sourceList[];
}