UDPSetBroadcastCommand

Namespace inet

UDPSetBroadcastCommand

class

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 also: UDPCommandCode

Extends

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

Fields

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

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