UdpSetMulticastLoopCommand¶
Namespace: inet
class UdpSetMulticastLoopCommand
Control info for setting the multicast loop option for an UDP socket. When the option is true, a copy of the outgoing multicast packet is delivered locally via the loopback interface. To set the option, send a message to the Udp module with kind=UDP_C_SETOPTION and an instance of this control info class attached.
See also: UdpCommandCode
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Base class for UDP socket option control info classes. |
Fields¶
Name |
Type |
Description |
|---|---|---|
optionCode |
||
optionCode |
||
loop |
bool |
Source code¶
//
// Control info for setting the multicast loop option for an UDP socket.
// When the option is true, a copy of the outgoing multicast packet
// is delivered locally via the loopback interface.
// To set the option, send a message to the ~Udp module with kind=UDP_C_SETOPTION
// and an instance of this control info class attached.
//
// @see ~UdpCommandCode
//
class UdpSetMulticastLoopCommand extends UdpSetOptionCommand
{
optionCode = UDP_C_SETOPTION_MCAST_LOOP;
bool loop;
}