int mdi_send_message(SCTP_message * message, unsigned int length, short destAddressIndex)

Used by bundling to send a SCTP-datagramm.

Documentation

Used by bundling to send a SCTP-datagramm.

Bundling passes a static pointer and leaves space for common header, so we can fill that header in up front ! Before calling send_message at the adaption-layer, this function does:

Parameters:
SCTP_message - SCTP message as a struct (i.e. common header and chunks)
length - length of complete SCTP message.
destAddresIndex - Index of address in the destination address list.
Returns:
Errorcode (0 for good case: length bytes sent; 1 or -1 for error)

Alphabetic index HTML hierarchy of classes or Java



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