Class SCTPConnectInfo

File: src/transport/contract/SCTPCommand.msg

Sent with message kind SCTP_I_ESTABLISHED, to let the app know about the local and remote IP address and port.

See also: TcpCommandCode, SCTPMain

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

SCTPCommand (class)

Control info for SCTP connections. This class is to be set as control info (see cMessage::setControlInfo()) on all messages exchanged between SCTP and application, in both directions. Some commands and indications (SCTP_C_OPEN_xxx, SCTP_I_STATUS) use subclasses.

Fields:

Name Type Description
sid int
lifetime double
status int
numMsgs int
ssn int
inboundStreams int
gate int
assocId int

identifies the socket within the application

outboundStreams int
remoteAddresses AddressVector

IPvXAddress localAddr; IPvXAddress remoteAddr;

sendUnordered unsigned short
remotePort int
localPort int
localAddr IPvXAddress
remoteAddr IPvXAddress

Source code:

//
// Sent with message kind SCTP_I_ESTABLISHED, to let the app know
// about the local and remote IP address and port.
//
// @see TcpCommandCode, SCTPMain
//
class SCTPConnectInfo extends SCTPCommand
{
    //IPvXAddress localAddr;
    //IPvXAddress remoteAddr;
    AddressVector remoteAddresses;
    int localPort;
    int remotePort;
    int status;
    int inboundStreams;
    int outboundStreams;
}