Namespace inet
UdpSetBroadcastCommand
classControl info for setting the Broadcast option on 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
Extends
Name | Type | Description |
---|---|---|
UdpSetOptionCommand | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
optionCode | ||
broadcast | bool |
Source code
// // Control info for setting the Broadcast option on 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 UdpSetBroadcastCommand extends UdpSetOptionCommand { optionCode = UDP_C_SETOPTION_BROADCAST; bool broadcast; }File: src/inet/transportlayer/contract/udp/UdpControlInfo.msg