Zen API
zTcpServer_Accept
C
zStatus zTcpServer_Accept(zTcpServer server, z64u timeout, zTcpClient* client);
Parameters
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
Description

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.

File

zTcpServer.h

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