eOption

LMX_OPT_HEARTBEAT_EXIT_FUNCTION

This flag causes a callback function to be called when automatic heartbeats cease attempts to reconnect to the license server. When this happens, the heartbeat thread is stopped, and no more heartbeats are called, but the application will continue to run.

If this flag is not set and automatic heartbeats cease attempts to reconnect to the license server, the heartbeat thread is stopped, and the client prints the message, "Lost license(s)! Unable to reconnect to license server!" to stderr, and calls exit(1). This causes the application to quit with return code 1 (see Return codes).

pSetting

Function pointer value.

Default value:

NULL (disabled)

Prototype:

void (LMX_CALLBACK *HeartbeatExit_pfn)
(
  void *pVendorData, /* Vendor-specified data */
);