Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kTcpClient_Connect | ( | kTcpClient | client,
|  | kIpAddress | address,
|  | k32u | port,
|  | k64u | timeout
| ) |  |

Connects to a remote end point.

A connection can be established only once per kTcpClient object.

Parameters

  client | TCP client object.
  address | The remote IP address.
  port | The remote port number.
  timeout | Timeout interval, in microseconds.

Returns
  Operation status.