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.5
7.0
7.1
7.2
7.3
7.4
7.5
8.0
8.1
8.2
Statistic
Socket.SSL.Connect
Initiate the TLS/SSL handshake with an TLS/SSL server.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Socket | 3.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "Socket.SSL.Connect"; SocketID )
Parameters
Parameter | Description | Example value |
---|---|---|
SocketID | The socket ID received by Socket.Connect function. | $sock |
Result
Returns OK or error.
Description
Initiate the TLS/SSL handshake with an TLS/SSL server.Calls internally Socket.SSL.Initialize if you did not yet call it.
Instead of using this SSL socket, please consider letting CURL do the job: Use CURL.SetOptionConnectOnly to let CURL connect and than send data using CURL.SendData and CURL.SendText. For receiving, please use CURL.ReceiveData and CURL.ReceiveText. This gives you much more SSL options and proxy support.
See also
- CURL.ReceiveData
- CURL.ReceiveText
- CURL.SendData
- CURL.SendText
- CURL.SetOptionConnectOnly
- Socket.Connect
- Socket.SSL.Accept
- Socket.SSL.Initialize
Example Databases
Socket.SSL.Accept - Socket.SSL.GetMethod
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins