Socket.SSL.Prepare
------------------

First step in SSL initialization.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Socket](component_Socket.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Socket.SSL.Prepare"; SocketID ) 

**MBS**( **"Socket.SSL.Prepare";** /\* First step in SSL initialization. \*/  
**$SocketID**) /\* The socket ID received by [Socket.Connect](SocketConnect.md) function.e.g. $sock \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SocketID | The socket ID received by [Socket.Connect](SocketConnect.md) function. | $sock |

### Result

Returns OK or error.

### Description

First step in SSL initialization.  
### See also

- [Socket.Connect](SocketConnect.md)
- [Socket.SSL.Initialize](SocketSSLInitialize.md)
- [Socket.SSL.SetMethod](SocketSSLSetMethod.md)

This function checks for a license.

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

  
[Socket.SSL.Initialize](SocketSSLInitialize.md) - [Socket.SSL.SetMethod](SocketSSLSetMethod.md)

[HTML Version](SocketSSLPrepare.shtml)