Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_SetEvents | ( | kSocket | socket,
|  | kSocketEvent | events
| ) |  |

Sets the event types that a socket will wait on.

By default, sockets wait on read events.

Parameters

  socket | Socket object.
  events | One or more event types to wait on.

Returns
  Operation status.