Namespace inet
TCPDataTransferMode
enumDefines 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.
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 }File: src/inet/transportlayer/contract/tcp/TCPCommand.msg