zStatus zSocket_Wait(zSocket socket, z64u timeout);
|
Parameters |
Description |
|
zSocket socket |
zSocket object. |
|
z64u timeout |
Timeout, in microseconds. |
Waits until the socket has bytes to read (enqueued connection requests for server sockets) or until the specified timeout period elapses.
This function will return zERROR_TIMEOUT in the event that the socket is not ready for reading by the end of the timeout period.
zSocket.h