unsigned short sctp_registerInstance(unsigned short port, unsigned short noOfInStreams, unsigned short noOfOutStreams, unsigned int noOfLocalAddresses, unsigned char localAddressList[][SCTP_MAX_IP_LEN], SCTP_ulpCallbacks ULPcallbackFunctions)

sctp_registerInstance is called to initialize one SCTP-instance.

Documentation

sctp_registerInstance is called to initialize one SCTP-instance. Each Adaption-Layer of the ULP must create its own SCTP-instance, and define and register appropriate callback functions. An SCTP-instance may define an own port, or zero here ! Servers and clients that care for their source port must chose a port, clients that do not really care which source port they use, chose ZERO, and have the implementation chose a free source port.

Parameters:
port - wellknown port of this sctp-instance
noOfLocalAddresses - number of local addresses
localAddressList - local address list (pointer to a string-array)
ULPcallbackFunctions - call back functions for primitives passed from sctp to ULP
Returns:
instance name of this SCTP-instance or 0 in case of errors

Alphabetic index HTML hierarchy of classes or Java



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