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

Name

mcIsReceive — Tell if data from server is to be expected (C API)

Synopsis

#include <memcom.h>

int mcIsReceive(int handle);

Description

mcIsReceive returns a positive value if the state of the connection to the remote server is in receiving mode, that is, data from the server is to be expected. Otherwise, and if the handle designates a local database, 0 is returned.

Parameters

handle

Database handle to the remote database (input).

See also

mcIsSend, mcTest