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

Name

mcIsSend — Tell if data needs to be sent to server (C API)

Synopsis

#include <memcom.h>

int mcIsSend(int handle);

Description

mcIsSend returns a positive value if the state of the connection to the remote server is in sending mode, that is, data needs to be sent to the server. Otherwise, and if the handle designates a local database, 0 is returned.

Parameters

handle

Database handle to the remote database (input).

See also

mcIsReceive, mcTest