UdpSetMulticastInterfaceCommand¶
Namespace: inet
class UdpSetMulticastInterfaceCommand
Control info for setting the multicast output interface for an UDP socket. To set the option, send a message to the Udp module with kind=UDP_C_SETOPTION and an and 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 |
||
interfaceId |
int |
Source code¶
//
// Control info for setting the multicast output interface for an UDP socket.
// To set the option, send a message to the ~Udp module with kind=UDP_C_SETOPTION
// and an and instance of this control info class attached.
//
// @see ~UdpCommandCode
//
class UdpSetMulticastInterfaceCommand extends UdpSetOptionCommand
{
optionCode = UDP_C_SETOPTION_MCAST_IFACE;
int interfaceId;
}