www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


SSL_ConnClose

Close a SSL connection. The user data will be flushed and a close notify message will be send to the SSL peer. User may also close the whole socket instead of only closing the SSL layer.

int SSL_ConnClose(int sd, int *error);

Parameters

sd

Socket descriptor

error

Output parameter:  Failure code, 0 on success.

Return Value

0: Success
-1: failed

Comments

Note that the peer may not accept any data after the SSL layer is closed.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV0.91

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.02

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document