int sctp_deleteAssociation(unsigned int associationID)

This function should be called AFTER an association has indicated a COMMUNICATION_LOST or a SHUTDOWN_COMPLETE, and the upper layer has retrieved all data it is interested in (possibly using the currently not implemented functions sctp_receive_unsent() or sctp_receive_unacked()) it really removes all data belonging to the association, and removes the association instance from the list, on explicit upper layer instruction !

Documentation

This function should be called AFTER an association has indicated a COMMUNICATION_LOST or a SHUTDOWN_COMPLETE, and the upper layer has retrieved all data it is interested in (possibly using the currently not implemented functions sctp_receive_unsent() or sctp_receive_unacked()) it really removes all data belonging to the association, and removes the association instance from the list, on explicit upper layer instruction !
Parameters:
associationID - the association ID of the assoc that shall be removed
Returns:
error_code 0 for success, 1 if assoc is already gone, -1 if assocs deleted flag is not set (then assoc should be in a state different from CLOSED)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.