nip2pUnlinkStream

int32_t nip2pUnlinkStream (nip2p_tStreamHandle streamHandle);

Purpose

Unlinks the writer and reader in the stream that you specify. If the stream is enabled, this function disables the stream before unlinking the writer and reader.

Parameters

Input
Name Type Description
StreamHandle nip2p_tStreamHandle Specifies the stream to unlink.

Return Value

Name Type Description
Error code int32_t Returns the error code for the session or execution thread.

Value Meaning
0 No error.
Positive Values Warning, but the operation succeeded.
Negative Values An error occurred and the operation did not succeed.