Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the client has performed its last checkin (that is, has returned all licenses to the server), the connection to the server is closed. It is recommended that client applications explicitly checkin all licenses instead of using the LM-X API to checkin licenses (see LMX_Checkin).
 

License server extensions

The license server supports extensions to accommodate custom behavior; for example, you can:

  • Modify the length of connection timeouts.
  • Set the custom HostID callback function to create licenses that are locked to a license server with a custom HostID.
  • Enable notifications for cases when a client tries to checkout or reserve a feature that is not available.
  • Get information prior to or as part of the checkout/checkin, reservation, and reservation early return requests on the server side, which allows for flexibility when determining which licenses should be checked in and out, and lets you change license requests dynamically.

You include your custom code in the file lmxserverconf.c, which is used to build the file liblmxvendor.dll (for Windows) or liblmxvendor.so (for Unix). A default liblmxvendor file is included with the SDK.

You must distribute liblmxvendor.dll (or .so) to end users together with the license server executable (lmx-serv). See End-user file distribution for more information about distributing this and other files to end users.