Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kTcpClient_Wait | ( | kTcpClient | client,
|  | k64u | timeout
| ) |  |

Waits until the client has bytes to read or until the specified timeout period elapses.

This function will return kERROR_TIMEOUT in the event that the client is not ready for reading by the end of the timeout period.

Parameters

  client | TCP client object.
  timeout | Timeout interval, in microseconds.

Returns
  Operation status.