QMConnectionType

Top  Previous  Next

 

The QMConnectionType function sets parameters that affect the behaviour of QMClient. This function does not apply to the QMClient class module in QMBasic.

 

 

Format

 

VBQMConnectionType ByVal Type as Integer

 

Cvoid QMConnectionType(int Type)

 

where

 

TypeA bit significant value that controls the session parameters.

 

 

The QMConnectionType function sets parameters that affect the behaviour of QMClient.

 

Type can be formed from any of the following additive values:

1The next session to be opened will not take part in the device licensing system.
2The next session to be opened will not use encrypted data traffic. This may result in increased transfer speeds but at the expense of weakened security. Note that the login authentication data (user name and password) is always encrypted when both the client and the server support this, regardless of the setting of this parameter.
4The next session to be opened must use encrypted data traffic. If the server does not support encryption, the session will not be established.
8Suppress display of error messages from within the QMClient library. Once set, this mode persists even if a later call to QMConnectionType does not include this value. Applications must test the value returned by QMError() to determine if an error has occurred.

 

Additional bit values may be used in future releases or for internal undocumented purposes.