Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  

Socket.SSL.SetMethod

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 )

Parameters

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"

Result

Returns OK or error.

Description

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


Socket.SSL.Prepare   -   Socket.SSL.UseCertificateFile

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins