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
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
UDPSetOptionCommand | class |
Base class for UDP socket option control info classes. |
Name | Type | Description |
---|---|---|
loop | bool | |
sockId | int |
must uniquely identify the socket in the UDP module |
// // 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; }