TcpConnection¶
Namespace: inet::tcp
class TcpConnection
(no description)
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
cSimpleModule |
(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 |
socket pair |
|
remoteAddr |
||
localPort |
int |
|
remotePort |
int |
|
state |
TcpStateVariables * |
|
sendQueue |
TcpSendQueue * |
TCP queues |
receiveQueue |
TcpReceiveQueue * |
|
rexmitQueue |
TcpSackRexmitQueue * |
|
tcpAlgorithm |
TcpAlgorithm * |
|
fsmState |
int |
Properties¶
Name |
Value |
Description |
|---|---|---|
descriptor |
readonly |
|
existingClass |
Source code¶
class TcpConnection extends cSimpleModule
{
@existingClass;
@descriptor(readonly);
int socketId; // identifies connection within the app
int listeningSocketId; // identifies listening connection within the app
// socket pair
L3Address localAddr @getter(getLocalAddress);
L3Address remoteAddr @getter(getRemoteAddress);
int localPort;
int remotePort;
TcpStateVariables *state;
// TCP queues
TcpSendQueue *sendQueue;
TcpReceiveQueue *receiveQueue;
TcpSackRexmitQueue *rexmitQueue;
TcpAlgorithm *tcpAlgorithm;
int fsmState;
};