Zen API | Contents | Reference | Previous | Up | Next

zTcpClient_WaitAny
zTcpClient functions
C

    zStatus zTcpClient_WaitAny(const zTcpClient* clients, z32u count, zBool* status, z64u timeout);

Parameters

Parameters | Description
z32u count | The number of clients in the array.
zBool* status | An array of returned status values, indicating which clients are ready to be read.
z64u timeout | Timeout, in microseconds.
client | An array of clients to wait on.

Description

Waits until one or more of the specified TCP clients has bytes to read or until the specified timeout period elapses.

Remarks

This function will return zERROR_TIMEOUT in the event that none of the clients are ready for reading by the end of the timeout period.

File

zTcpClient.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference