You are here: SwitchKit® Development Environment - TCAP Interface User’s Guide > 7 SKTAL Sample Application > Step Five - Terminating SKTAL and Disconnection

Step Five - Terminating SKTAL and Disconnection

The API function described in this section is used to terminate a SwitchKit TCAP Abstraction Layer and disconnect from the LLC.

Application Code

// Unregister SSN instance.

if (instance >= 0)

{

sktal_unregisterTCAPSSNHandler (instance);

instance = -1;

}

// Terminate SKTAL

stalk_terminateTCAP();

// disconnect

if (connection)

{

skts_destroyConnection(CONN_ID);

connection = NULL;

}

See Transaction Capability Application Part.