Zen API
|
Waits for a socket event.
Before calling this function, use kSocket_SetEvents to specify the events that the socket should wait on. After calling this function, use the kSocket_Events function to determine which events have occurred.
This function will return kERROR_TIMEOUT if no events occur by the end of the timeout period.
socket | Socket object. |
timeout | Timeout, in microseconds. |