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