Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the SSL method for this socket.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Socket | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
SocketID | The socket ID received by Socket.Connect function. | $sock |
Method | The new SSL method. Can be SSLv2, SSLv3, SSLv23, TLSv1.0, TLSv1.1, TLSv1.2 or DTLSv1.0. | "SSLv2" |
Returns OK or error.
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014