Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kSocket_Accept ( kSocket  socket,
kSocket connection,
kAlloc  allocator 
)

Blocks until an incoming connection request is accepted.

Parameters
socketA socket object in the listening state.
connectionReceives a socket object representing the newly-established connection, or kNULL.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.