Zen API
zSocket_Wait
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.

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.