Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_Bind | ( | kSocket | socket,
|  | kIpAddress | address,
|  | k32u | port
| ) |  |

Binds the socket to a local IP address and/or port.

Parameters

  socket | Destination for the constructed object handle.
  address | A local IP address, or kIpAddress_Any().
  port | A local port number, or kIP_PORT_ANY.

Returns
  Operation status.