SSLSocket.ConnectionType

Specifies the type of SSL connection. ConnectionType can take the following values:
0 - SSLv2: SSL (Secure Sockets Layer) version 2.
1 - SSLv23: SSL version 3, but can roll back to 2 if needed.
2- SSLv3: SSL version 3.
3- TLSv1: TLS (Transport Layer Security) version 1.
The default value is 1, SSL version 23.

Syntax
ConnectionType( Integer ) as

Parameters
Integer |

# Notes

Once you have called the SSLSocket.Connect method, you cannot change the connection type without calling SSLSocket.Close first, but you can always query the connection type. If you are unsure whether the server supports SSLv23, you can try connecting multiple times. If an attempt results in a 102 error, try again with a different value for ConnectionType.