TcpConnectInfo

Namespace inet

TcpConnectInfo

class

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

See also: TcpCommandCode, ITcp

Extends

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

Fields

Name Type Description
localAddr L3Address
remoteAddr L3Address
localPort int
remotePort int

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;
}

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