Enum TCPDataTransferMode

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

Defines what to transmit as payload in TCP segments

Currently you have the following choices:

See ITCP (the TCP layer interface) for details.

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Source code:

//
// Defines what to transmit as payload in TCP segments
//
// Currently you have the following choices:
//   - TCP_TRANSFER_BYTECOUNT:
//      TCP layer will transmit byte counts only.
//   - TCP_TRANSFER_OBJECT:
//      TCP layer will transmit the copy of application packet C++ objects
//   - TCP_TRANSFER_BYTESTREAM:
//      TCP layer will transmit bytes of the application packet.
//
// See ~ITCP (the TCP layer interface) for details.
//
enum TCPDataTransferMode
{

    TCP_TRANSFER_UNDEFINED = 0;         // Invalid value
    TCP_TRANSFER_BYTECOUNT = 1;         // Transmit byte counts only
    TCP_TRANSFER_OBJECT = 2;            // Transmit the application packet C++ objects
    TCP_TRANSFER_BYTESTREAM = 3;        // Transmit raw bytes
}