zStatus zTcpServer_Accept(zTcpServer server, z64u timeout, zTcpClient* client);
|
Parameters |
Description |
|
zTcpServer server |
A zTcpServer object in the listening state. |
|
z64u timeout |
The timeout interval. |
|
zTcpClient* client |
Returns a zTcpClient object representing the newly-established connection, or zNIL. |
Blocks until an incoming connection is established, or the specified timeout interval elapses.
The returned connection object can be zNIL if the connection was closed by the remote client before being accepted.
zTcpServer.h