Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_SetReadTimeout | ( | kSocket | socket,
|  | k64u | timeout
| ) |  |

Sets the timeout duration for blocking read operations.

By default, kSocket objects do not use a timeout interval and can block indefinitely.

Parameters

  socket | Socket object.
  timeout | Timeout value, in microseconds.

Returns
  Operation status.