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.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

Name Type Description
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
remoteAddresses AddressVector

IPvXAddress localAddr; IPvXAddress remoteAddr;

localPort int
remotePort int
status int
inboundStreams int
outboundStreams int
assocId int

identifies the socket within the application

sid int
numMsgs int
ssn int
sendUnordered unsigned short
lifetime double
localAddr IPvXAddress
remoteAddr IPvXAddress
gate int

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;
}