SSLSocket.ConnectionType

From Xojo Documentation
Jump to: navigation, search
Property (As Integer)
aSSLSocket.ConnectionType = newIntegerValue
or
IntegerValue = aSSLSocket.ConnectionType

Specifies the type of SSL connection.

Notes

NOTE: Use the SSLSocket constant names for ConnectionType, and not the integer values so that the IDE can warn you when constants are removed or deprecated.


ConnectionType can take the following SSLSocket class constants:

Class Constant Value Description
TLSv1 3 TLS (Transport Layer Security) version 1. (default)
TLSv11 4 TLS (Transport Layer Security) version 1.1
TLSv12 5 TLS (Transport Layer Security) version 1.2

The default is TLSv1. If you need to change the connection type, close the connection first.

Example

This example changes the connection type to TLSv1.

Socket1.ConnectionType = SSLSocket.TLSv1
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About