ytls_shutdown()

ytls_shutdown()#

The ytls_shutdown() function terminates a secure connection associated with the given hsskt session within the specified hytls context.

Prototype

void ytls_shutdown(
    hytls ytls,
    hsskt sskt
);

Parameters

Key

Type

Description

ytls

hytls

The TLS context managing the secure connection.

sskt

hsskt

The secure socket session to be shut down.


Return Value

This function does not return a value.

Notes

After calling ytls_shutdown(), the secure session sskt should no longer be used.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples