TcpErrorInfo

Namespace: inet

class TcpErrorInfo

Currently not in use.

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

TcpCommand

class

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

Fields

Name

Type

Description

userId

int

id than can be freely used by the app

errorCode

TcpErrorCode

messageText

string

Source code

//
// Currently not in use.
//
class TcpErrorInfo extends TcpCommand
{
    TcpErrorCode errorCode;
    string messageText;
}

File: src/inet/transportlayer/contract/tcp/TcpCommand.msg