File: Transport/Contract/TCPCommand.msg
Sent with message kind TCP_I_ESTABLISHED, to let the app know about the local and remote IP address and port.
See also: TcpCommandCode, TCP
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
TCPCommand | 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. |
Name | Value | Description |
---|---|---|
omitGetVerb | true |
Name | Type | Description |
---|---|---|
localAddr | IPvXAddress | |
remoteAddr | IPvXAddress | |
localPort | int | |
remotePort | int |
class TCPConnectInfo extends TCPCommand { properties: omitGetVerb = true; fields: IPvXAddress localAddr; IPvXAddress remoteAddr; int localPort; int remotePort; };