Disconnecting and destroying MSPP connections

Use the following functions to destroy MSPP connections:

Function

Description

mspDisableChannel

Interrupts the flow of data on a specified MSPP connection.

mspDisconnect

Disassociates the MSPP endpoints and MSPP channel in a specified connection (if the channel is enabled when the command is issued, the MSPP service automatically disables the connection).

mspDestroyEndpoint

Destroys a specified MSPP endpoint (and disables and disconnects the associated connection if the endpoint is part of an enabled connection).

mspDestroyChannel

Destroys a specified MSPP channel (and disables and disconnects the associated connection if the channel is part of an enabled connection).

The order in which the functions are called is should important and must match the order listed in the previous table.