int sctp_send(unsigned int associationID, unsigned short streamID, unsigned char *buffer, unsigned int length, unsigned int protocolId, short path_id, void* context, unsigned int lifetime, int unorderedDelivery, int dontBundle)

sctp_send is used by the ULP to send data chunks.

Documentation

sctp_send is used by the ULP to send data chunks.

Parameters:
associationID - the ID of the addressed association.
streamID - identifies the stream on which the chunk is sent.
buffer - chunk data.
length - length of chunk data.
protocolId - the payload protocol identifier
path_id - index of destination address, if different from primary pat, negative for primary
context - ULP context, i.e. a pointer that will may be retunred with certain callbacks. (in case of send errors).
lifetime - maximum time of chunk in send queue in msecs, 0 for infinite
unorderedDelivery - chunk is delivered to peer without resequencing, if true (==1), else ordered (==0).
dontBundle - chunk must not be bundled with other data chunks. boolean, 0==normal bundling, 1==do not bundle message
Returns:
error code -1 for send error, 1 for association error, 0 if successful

Alphabetic index HTML hierarchy of classes or Java



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