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

Enables the ability to receive broadcast messages.

This function is required to work around a limitation in SYS/BIOS that prevents sockets from receiving broadcasts unless they are bound to kIpAddress_AnyV4(). When used, this function must be called before kUdpClient_Bind.

This function is harmless (no effect) when used on other operating systems.

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