SSLC:CreateContext: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 39: | Line 39: | ||
| Output SSL context handle | | Output SSL context handle | ||
|} | |} | ||
=Description= | |||
This creates a session context. | |||
The specified sockfd must be used with [[SOCU:AddGlobalSocket]] before starting the actual TLS connection later. Official processes normally use it before SSLC:CreateContext. |
Revision as of 22:22, 20 February 2016
Request
Index Word | Description |
---|---|
0 | Header code [0x000200C2] |
1 | Socket descriptor |
2 | Unknown u32, the default value is 0x0. |
3 | Host-name size, including null-terminator. |
4 | (Size<<4) | 10 |
5 | Pointer to input host-name buffer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Output SSL context handle |
Description
This creates a session context.
The specified sockfd must be used with SOCU:AddGlobalSocket before starting the actual TLS connection later. Official processes normally use it before SSLC:CreateContext.