Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_EnablePacketInfo | ( | kSocket | socket,
|  | kBool | enabled
| ) |  |

Enables or disables interface index information for datagrams.

This function can only be used in conjunction with a UDP socket. Index information must be enabled before using kSocket_ReadFromEx.

Parameters

  socket | Socket object.
  enabled | kTRUE to enable package information; kFALSE otherwise.

Returns
  Operation status.