TcpState
TcpState
Represents the different states of a TCP connection.
This enum defines the possible states a TCP connection can be in during its lifecycle, from establishing a connection to closing or being in a waiting state.
Author
N7ghtm4r3
See also
RFC 793 for more information on TCP states.
Entries
ESTABLISHED
Represents the state where the TCP connection has been successfully established and data can be transmitted.
FIN_WAIT_1
Represents the state where the connection is being closed, and a FIN message has been sent to the other side.
FIN_WAIT_2
Represents the state where the connection is being closed, and the peer has acknowledged the FIN message.
CLOSE_WAIT
Represents the state where the local TCP stack has received a FIN from the peer and is waiting to close the connection.