openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetEndPoint()

int32_t HITLS_SetEndPoint ( HITLS_Ctx ctx,
bool  isClient 
)

Set the initial status of the connection.

Parameters
ctx[IN] TLS connection handle.
isClient[IN] Set the current client or server.
Return values
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.