Common Questions


How can I change the idle session timeout?

Put a KLTCPIP.DAT file on the dongle server.

By default it is set to 540 minutes (9 hours) and the TCP/IP client will stay connected to the server (as long as the server is running without interruption) even if the session is idle. In order set a fixed timeout (in minutes) for idle dongle session clients, put a file called KLTCPIP.DAT in the same directory as klserver.exe on the dongle server. The file should be a standard ASCII text file (such as those created by Notepad) containing one line with the number of minutes that can pass with no activity from a client session before the session times out and is disconnected.

What is NetKeyMonitor.exe and how can I use it?

NetKeyMonitor is a company unique utility that scans the system for active TCP/IP dongle servers and reports the maximum number of simultaneous sessions reported and the number of session currently in use.

KEYLOK supplies a copy of NetKeyMonitor set up for our DEMO dongles on our DEMO SDK and a copy set up for your production dongles in your Company Unique SDK. In either case, the file is located in the \Networking directory. It will also be installed into the \Program Files\KEYLOK\Networking directory on your computer when you install the SDK.

To use NetKeyMonitor, double-click on the file to start the program. Click on Status Monitoring to start monitoring. A window will appear showing all active servers that can be accessed from that machine (up to a maximum of five). The maximum number of simultaneous sessions supported and the number currently in use for each server will also be shown. If the program displays No/Wrong Dongle instead of a number, it indicates either that no dongle is currently attached to that server or that the dongle attached does not have company unique codes matching the version of NetKeyMonitor in use.

How do I set the maximum number of simultaneous users in a multi-user key?

Use either WinDEMO or KLTool to set the maximum number of users.

Multi-user keys are shipped with the maximum number of simultaneous users set to 1 by default. If you wish to support more users, you must set the maximum number using either the WinDEMO or KLTool utilities supplied on our DEMO and Company Unique SDKs (in the Demos directory). You can set the number to any value from 0 to the maximum number of users supported by the hardware of the key. We also have API’s to set the maximum number of users. It is not just limited to the utilities.