Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTcpClient_Wait ( kTcpClient  client,
k64u  timeout 
)

Waits until the client has bytes to read or until the specified timeout period elapses.

This function will return kERROR_TIMEOUT in the event that the client is not ready for reading by the end of the timeout period.

Parameters
clientTCP client object.
timeoutTimeout interval, in microseconds.
Returns
Operation status.