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.

Connection can be attempted only once per client object.

Parameters

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

Returns
  Operation status.