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

zSocket_Wait
zSocket functions
C

    zStatus zSocket_Wait(zSocket socket, z64u timeout);

Parameters

Parameters | Description
zSocket socket | zSocket object.
z64u timeout | Timeout, in microseconds.

Description

Waits until the socket has bytes to read (enqueued connection requests for server sockets) or until the specified timeout period elapses.

Remarks

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

File

zSocket.h

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