Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kUdpClient_EnableBroadcast ( kUdpClient  client,
kBool  broadcast 
)

Enables or disables broadcasting.

If broadcasting is enabled, sending to kIpAddress_BroadcastV4() will broadcast a datagram on the subnet associated with the IPv4 address to which the client is bound.

Broadcasts are disabled by default.

Parameters
clientUDP client object.
broadcastkTRUE to enable broadcasts; kFALSE otherwise.
Returns
Operation status.