MemCom Reference Manual > MemCom C API Manual Pages > Client/Server Functions > mcWait

Name

mcWait — Block until a remote operation has completed (C API)

Synopsis

#include <memcom.h>

int mcWait(int handle);

Description

mcWait blocks until a remote, non-blocking, operation on a MemCom server has completed or failed, and the server has sent back the return code, which is then returned by mcWait.

Parameters

handle

Database handle to the remote database (input).

See also

mcWaitAny, mcWaitAll, mcTest