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

zUdpClient_WaitAny
zUdpClient functions
C

    zStatus zUdpClient_WaitAny(const zUdpClient* 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 UDP 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

zUdpClient.h

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