SCCPReleaseRqst

Clears an SCCP connection by generating a released message to the far exchange.

Prototype

DWORD SCCPReleaseRqst ( CTAHD ctahd, SccpConnId *connId, SccpReleased *relRqst)

Argument

Description

ctahd

Natural Access handle returned by ctaCreateContext.

connId

Pointer to the connection ID.

relRqst

Pointer to the caller's released message structure containing all parameters to be included in the message to the far endpoint.


Return values

Return value

Description

SCCP_SUCCESS

 

SCCPERR_OVERRUN

Message generated by this request exceeds the maximum allowed size.

SCCPERR_RESOURCES

Number of available buffers is exhausted.

CTAERR_BAD_ARGUMENT

One or more arguments are invalid.

CTAERR_DRIVER_SEND_FAILED

Error occurred accessing the CPI driver. Call SCCPGetStats to obtain the error code. The error code is in the failTxErr field of the SccpStats structure. The CPI error codes are listed in the txcpi.h include file.

CTAERR_INVALID_CTAHD

Natural Access handle is invalid.


Details

There is no response to this request from the SCCP layer or far end point. The application is not notified of receipt of a release complete message from the far end point.

Refer to Establishing connections for more information.