SSLC:CreateContext

Revision as of 05:07, 21 February 2016 by Yellows8 (talk | contribs)

Request

Index Word Description
0 Header code [0x000200C2]
1 Socket descriptor
2 u32 input_opt
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 SSLC:CreateContext.

The context opt field also used by SSLC:ContextClearOpt is set to: input_opt | 0x1b.