Zen API

- Home
- Topics
- Types
- Files

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 DSP/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

  client | UDP client object.
  broadcast | kTRUE to enable broadcasts; kFALSE otherwise.

Returns
  Operation status.