UDPSetMulticastLoopCommand

Namespace inet

UDPSetMulticastLoopCommand

class

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

Extends

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

Fields

Name Type Description
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
{
    bool loop;
}

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