Initializing help system before first use

XPRDconnected

XPRDconnected


Purpose
Check whether a Mosel instance is still connected.
Synopsis
int XPRDconnected(XPRDmosel mosel);
Argument
mosel 
Mosel instance
Return value
1 if the instance is connected, 0 otherwise.
Further information
1. The connection to a remote instance may be lost due to a network failure or because the corresponding process has terminated: this routine allows to check for this situation.
2. A call to XPRDdisconnect is still required to release the local resources used by an instance even if this function reports the instance is no longer active.
Related topics