TcpConnectInfo

Namespace inet

TcpConnectInfo

class

C++ definition

Sent with message kind TCP_I_ESTABLISHED, to let the app know about the local and remote IP address and port.

<b>See also:</b> ~TcpCommandCode, ~ITcp

Extends

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

Fields

Name Type Description
localAddr L3Address
remoteAddr L3Address
localPort int
remotePort int
autoRead bool

true: TCP send up arrived data automatically. false: should use read command.

Source code

//
// Sent with message kind TCP_I_ESTABLISHED, to let the app know
// about the local and remote IP address and port.
//
// @see ~TcpCommandCode, ~ITcp
//
class TcpConnectInfo extends TcpCommand
{
    L3Address localAddr;
    L3Address remoteAddr;
    int localPort;
    int remotePort;
    bool autoRead;   // true: TCP send up arrived data automatically. false: should use read command.
}

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