|
The QMConnectionType function sets parameters that affect the behaviour of QMClient. This function does not apply to the QMClient class module in QMBasic.
Format
| VB | QMConnectionType ByVal Type as Integer |
| C | void QMConnectionType(int Type) |
where
| Type | A 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:
| 1 | The next session to be opened will not take part in the device licensing system. |
| 2 | The 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. |
| 4 | The next session to be opened must use encrypted data traffic. If the server does not support encryption, the session will not be established. |
| 8 | Suppress 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.
|