TcpConnection

TcpConnection

class

C++ definition

(no description)

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Extends

Name Type Description
cObject (unknown -- not in documented files)

Fields

Name Type Description
socketId int

identifies connection within the app

listeningSocketId int

identifies listening connection within the app

localAddr L3Address

socket pair

remoteAddr L3Address
localPort int
remotePort int
state TcpStateVariables
sendQueue TcpSendQueue

TCP queues

receiveQueue TcpReceiveQueue
rexmitQueue TcpSackRexmitQueue
tcpAlgorithm TcpAlgorithm
fsmState int

Source code

class TcpConnection extends cObject
{
    @existingClass;
    @descriptor(readonly);

    int socketId;    // identifies connection within the app
    int listeningSocketId;    // identifies listening connection within the app

    // socket pair
    L3Address localAddr;
    L3Address remoteAddr;
    int localPort;
    int remotePort;

    TcpStateVariables *state;

    // TCP queues
    TcpSendQueue *sendQueue;
    TcpReceiveQueue *receiveQueue;
    TcpSackRexmitQueue *rexmitQueue;

    TcpAlgorithm *tcpAlgorithm;
    int fsmState;
}
File: src/inet/transportlayer/tcp/TcpConnection.msg