Zen API
 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
socketSocket object.
eventsOne or more event types to wait on.
Returns
Operation status.