Skip to main content

tlsOpen

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Opens a TLS socket. An existing socket handle is used to create a new TLS connection.

Parameters

  • socket: The socket handle.

Return Values

  • INVALID_SOCKET (~0): The function failed. Call tlsGetLastError to get a more specific error code.
  • Any other value: A valid socket handle identifying the created socket.

Example