NSSLDestroyConnection

Syntax

#include <cafe.h>
#include <cafe/nssl/nsslclient.h>

NSSL_RVAL NSSLDestroyConnection(NSSLConnectionHandle connection);

Parameters

connection A handle to the connection to be destroyed.

Return Values

NSSL_RVAL NSSL_RVAL_OK upon success, error code of type NSSL_RVAL on failure.

Description

Shuts down the underlying SSL connection and destroys the connection. The application should close the underlying TCP/IP socket after calling NSSLDestroyConnection.

Do Not Call From

Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

NSSLCreateConnection

Revision History

2012/08/16 Cleanup pass.
2012/04/06 Initial version.


CONFIDENTIAL