Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kSocket_BindToDevice ( kSocket  socket,
const kChar interfaceName 
)

Binds the socket to a specific network interface.

This function was introduced to work around a UDP broadcast issue on QNX, and is not supported on all platforms.

Parameters
socketSocket object.
interfaceNameDevice name.
Returns
Operation status.