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 usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
TCPCommand (class) |
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 | Type | Description |
---|---|---|
connId | int |
identifies the socket within the application |
userId | int |
id than can be freely used by the app |
localPort | int | |
remotePort | int | |
localAddr | IPvXAddress | |
remoteAddr | IPvXAddress |
// // Sent with message kind TCP_I_ESTABLISHED, to let the app know // about the local and remote IP address and port. // // @see TcpCommandCode, TCP // class TCPConnectInfo extends TCPCommand { IPvXAddress localAddr; IPvXAddress remoteAddr; int localPort; int remotePort; }