Zen API
zSocket_Accept
C
zStatus zSocket_Accept(zSocket socket, zSocket* connection);
Parameters
Parameters 
Description 
zSocket socket 
A server zSocket object in the listening state. 
zSocket* connection 
Returns a socket object representing the newly-established connection, or zNIL
Description

Blocks until an incoming connection request is accepted.

The returned connection object can be zNIL if the connection was closed by the remote client before being accepted.

File

zSocket.h

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