nn::ssl::Connection::Shutdown Member Function

Syntax

nn::Result Shutdown(
     void
);

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultProtocolFailedErr Indicates that a shutdown occurred during communication (while sending or receiving data). Even if this error occurs, the connection will have already been finalized, and the sockets will have already been deallocated.
ResultIpcSessionErr Error indicating an uninitialized connection. The function has not done anything as it has been called on a Connection instance for which you have not yet successfully called Initialize.
ResultNotInitializedErr Error indicating that the library is not initialized. None of the functions in this library can be run without first running nn::ssl::Initialize.
A value other than the above. Unexpected error (see ssl_Result.h for error details).

Description

Finalizes communication. Any sockets set for the connection will be freed when the connection is finalized.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL