Zen API
 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
socketSocket object.
enabledkTRUE to enable package information; kFALSE otherwise.
Returns
Operation status.