eOption | LMX_OPT_AUTOMATIC_HEARTBEAT_ATTEMPTS This flag specifies whether automatic heartbeats are enabled and the maximum number of failed heartbeat attempts before LM-X shuts down the application. When this option is enabled and network licensing is used, a separate thread is started that performs automatic heartbeats once every 2 minutes. This interval can be changed using LMX_OPT_AUTOMATIC_HEARTBEAT_INTERVAL. Setting the value to NULL will result in setting it to the default value. |
pSetting | Possible values: An integer, as follows: -1 (Ignore failed heartbeat attempts. With this setting, your application will not shut down even if the license server goes down infinitely after a checkout. This setting is useful for a lenient license model. New instances of your application will not be able to start, but existing sessions will continue to run.) 0 (Disabled. The client should perform manual heartbeats instead using LMX_Heartbeat() to keep the license. >0 (Shut down the application if no heartbeat response is received after the specified number of consecutive attempts. Once a valid heartbeat response is received, the internal counter will reset.) Default value: 0 (disabled) |