Log File Contents

www.CAD6.com

The log file of the CAD6 Dongle Server contains multiple entries, each using one single line. Each entry starts with date and time, followed by a colon and the main text. The following texts are defined:

 

Basic Messages

Dongle Server started / Dongle Server service started

The Dongle Server software has been started.

 

Dongle Server closed / Dongle Server service stopped

The Dongle Server software has been closed / stopped.

 

TCP/IP socket started

The TCP/IP socket has been started successfully, the Dongle Server is ready to communicate with the clients.

 

Unable to start TCP/IP socket - startup error [errornum]

The TCP/IP socket layer could not be started.

 

Unable to start TCP/IP socket - socket error [errornum]

No TCP/IP socket could be allocated.

 

Unable to start TCP/IP socket - bind error [errornum]

The TCP/IP socket could not be bound to the desired address.

 

Unable to start TCP/IP socket - listen error [errornum]

The TCP/IP socket is unable to listen.

 

TCP/IP socket closed

The TCP/IP has been closed.

 

Dongle mutex timeout

The Dongle Server could not allocate the dongle mutex for dongle detection in time. This is a temporary error, but will result in all dongles being lost for a short period.

 

Callback mutex timeout

The Dongle Server could not allocate the dongle mutex for server callback processing in time. This is a temporary error.

 

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: invalid packet data

The Dongle Server received invalid packet data from the stated user.

 

Dongle Messages

Dongle [donglenum] ( [dongleport] ) detected

The stated dongle has been detected, i.e. it is now available to the clients.

 

Dongle [donglenum] ( [dongleport] ) lost

The stated dongle has been lost, i.e. could no longer be detected.

 

User Messages

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: connected

The stated user has successfully connected to the dongle.

 

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: failed - out of licenses

The stated user could not connect to the dongle since the maximum number of users for the license had been reached.

 

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: failed - no matching dongle

The stated user could not connect to any dongle since there was no matching dongle.

 

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: failed - different IP address range

The stated user could not connect to any dongle since his IP address used another address range than the server. The first two numbers of the IP address must be identical!

 

User on [pcname] (ip [address], hardware [hwid], disk [diskid]), license [license]: timeout

The stated user did not contact the dongle server for at least 32 seconds and has been removed from the user list.

 

Variables In The Log Entries

[errornum]

A general error number of the Windows socket layer, responsible for TCP/IP handling. Some of the most frequently occurring error numbers are:

10013        Permission denied

10014        Bad address

10022        Invalid argument

10024        Too many open files

10035        Resource temporarily not available

10036        Operation in progress

10037        Operation already in progress

10038        Not a valid socket

10040        Message too long

10041        Protocol not supported by this socket

10042        Bad protocol option

10043        Protocol not supported

10044        Socket type not supported

10045        Operation not supported

10046        Protocol family not supported

10047        Address not supported by TCP/IP

10048        Address / port already in use

10049        Address cannot be used / address invalid

10050        Network is down

10051        Network is unreachable

10052        Connection dropped on reset

10053        Connection aborted by software

10054        Connection reset by peer

10055        No buffer space available

10056        Socket is already connected

10057        Socket is not connected

10058        Socket was shut down

10060        Connection timeout

10061        Connection refused

10064        Host is down

10065        Unable to reach host / no route

10067        Too many processes

10091        Network subsystem not ready

10092        Version not supported

10093        Sockets not initialized yet

10101        Shutdown in progress

10109        Class type not found

11001        Host not found

11002        Host not found - retry

11003        Unrecoverable error

11004        No data

 

[donglenum]

The serial number of a dongle. This serial number identifies each single dongle, and can usually also found on a label attached to the dongle.

 

[dongleport]

The type of port to which the dongle is connected, either "USB" or "LPT".

 

[pcname]

Computer name of the client PC that contacted the Dongle Server. This name is chosen by the user/administrator of the respective PC, it is shortened to 31 characters.

 

[address]

IPv4 address of the client PC that contacted the Dongle Server. An IPv4 address consists of four number (0..255) separated by points.

 

[hwid]

Hardware ID of the client PC that contacted the Dongle Server. The hardware is a unique identifier assembled from MAC ID, processor ID, Bios version, and Bios serial number, and consists of six hexadecimal numbers (0..FF) separated by dashs.

 

[diskid]

Disk ID of the client PC that contacted the Dongle Server. The harddisk ID is a random 32-bit hexadecimal number identifying a harddisk.

 

[license]

License number of the client PC that contacted the Dongle Server. The license number denotes a specific license of CAD6. You can find this license number of the deed of license that came along with your CAD6.

 

CAD6 Dongle Server Release 2024.2 - Copyright 2024 Malz++Kassner GmbH