CmpTlsClose (FUN)

FUNCTION CmpTlsClose : RTS_IEC_RESULT

lose the TLS connection. All data will be cleand up. The handle used for creating the connection will be closed too. No shutdown is done here. This is allowed by the TLS protocol.

InOut:

Scope

Name

Type

Comment

Return

CmpTlsClose

RTS_IEC_RESULT

Result of this operation. May be one of these values:
  • ERR_OK: No error. Everything worked as expected.

  • ERR_FAILED: Unknown error.

Input

hTlsConn

RTS_IEC_HANDLE

Handle of the TLS connection, created with one of the TLSxxxOpen functions