Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctSetClientLibraryOption

Enable additional c-tree client functions.

Declaration

NINT ctDECL ctSetClientLibraryOption(NINT option, pVOID value);

Description

  • option - ctCLIOPT_BROADCAST_READ
  • value - "YES" enables a background broadcast listening thread.

ctCLIOPT_BROADCAST_READ mode enables a background listening thread. This thread listens on the default TCP/IP broadcast port 5595 for a UDP packet. On reception of a validated packet, a global variable is set. In this initial support, this global variable is a failover flag indicating the client is required to reconnect to it's server.

A global variable is used to indicate the current failover state. A qualified failover event sets this flag variable to one (1).

See Also

ctResetFailOverState() (ctResetFailOverState, ctResetFailOverState) ctGetFailOverState (ctGetFailOverState, ctGetFailOverState)()

TOCIndex