Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the SSL method for this socket.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Socket 3.5 Yes Yes Yes Yes Yes
MBS( "Socket.SSL.SetMethod"; SocketID; Method )   More


Parameter Description Example value
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.


Sets the SSL method for this socket.
You first need to call Socket.SSL.Prepare to init SSL to the step where you can set method.

See also

Created 18th August 2014, last changed 18th August 2014

Socket.SSL.Prepare   -   Socket.SSL.UseCertificateFile

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins