Enum TcpStatusInd

File: Transport/Contract/TCPCommand.msg

TCP indications, sent by TCP to the application. TCP will set these constants as message kind on messages it sends to the application.

See also: TCPCommand, TCPStatusInfo, TCP

Enum values:

Name Value Description
TCP_I_DATA 1

data packet (set on data packet)

TCP_I_URGENT_DATA 2

urgent data (set on data packet)

TCP_I_ESTABLISHED 3

connection established

TCP_I_PEER_CLOSED 4

FIN received from remote TCP

TCP_I_CLOSED 5

connection closed normally (via FIN exchange)

TCP_I_CONNECTION_REFUSED 6

connection refused

TCP_I_CONNECTION_RESET 7

connection reset

TCP_I_TIMED_OUT 8

conn-estab timer went off, or max retransm. count reached

TCP_I_STATUS 9

status info (will carry TCPStatusInfo)

Source code:

enum TcpStatusInd
{
    TCP_I_DATA = 1;              // data packet (set on data packet)
    TCP_I_URGENT_DATA = 2;       // urgent data (set on data packet)
    TCP_I_ESTABLISHED = 3;       // connection established
    TCP_I_PEER_CLOSED = 4;       // FIN received from remote TCP
    TCP_I_CLOSED = 5;            // connection closed normally (via FIN exchange)
    TCP_I_CONNECTION_REFUSED = 6; // connection refused
    TCP_I_CONNECTION_RESET = 7;  // connection reset
    TCP_I_TIMED_OUT = 8;         // conn-estab timer went off, or max retransm. count reached
    TCP_I_STATUS = 9;            // status info (will carry TCPStatusInfo)
};