TcpAvailableInfo

Namespace inet

TcpAvailableInfo

class

Sent with message kind TCP_I_AVAILABLE, 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
newSocketId int

Source code

//
// Sent with message kind TCP_I_AVAILABLE, to let the app know
// about the local and remote IP address and port.
//
// @see ~TcpCommandCode, ~ITcp
//
class TcpAvailableInfo extends TcpCommand
{
    L3Address localAddr;
    L3Address remoteAddr;
    int localPort;
    int remotePort;
    int newSocketId;
}

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