TcpConnection

Namespace inet::tcp

TcpConnection

class

(no description)

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