Namespace inet
TcpCommandCode
enumTCP command codes, sent by the application to TCP. These constants should be set as message kind on a message sent to the TCP entity.
See also: TCPCommand, TCPOpenCommand, ITCP
Source code
// // TCP command codes, sent by the application to TCP. These constants // should be set as message kind on a message sent to the TCP entity. // // @see ~TCPCommand, ~TCPOpenCommand, ~ITCP // enum TcpCommandCode { TCP_C_OPEN_ACTIVE = 1; // active open (must carry ~TCPOpenCommand) TCP_C_OPEN_PASSIVE = 2; // passive open (must carry ~TCPOpenCommand) TCP_C_SEND = 3; // send data (set on data packet) TCP_C_CLOSE = 5; // "I have no more data to send" TCP_C_ABORT = 6; // abort connection TCP_C_STATUS = 7; // request status info (TCP_I_STATUS) from TCP TCP_C_QUEUE_BYTES_LIMIT = 8; // set send queue limit (in bytes) TCP_C_READ = 9; // send request to TCP to deliver data }File: src/inet/transportlayer/contract/tcp/TCPCommand.msg