SSLC:CreateContext: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000200C2] |- | 1 | Socket descriptor |- | 2 | ? |- | 2 | Host-name size, includi..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| Socket descriptor
| [[Socket_Services|Socket]] descriptor
|-
|-
| 2
| 2
| ?
| u32 input_opt
|-
|-
| 2
| 3
| Host-name size, including null-terminator.
| Host-name size, including null-terminator.
|-
|-
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 SSLC:CreateContext.
The context opt field also used by [[SSLC:ContextClearOpt]] is set to: <nowiki>input_opt | 0x1b</nowiki>. For user-processes the default value for input_opt is 0x0.