In The Hand LtdIn The Hand
TcpState Enumeration
NamespacesInTheHand.Net.NetworkInformationTcpState
.NET Components for Mobility
Specifies the states of a Transmission Control Protocol (TCP) connection.
Declaration Syntax
C#Visual Basic
public enum TcpState
Public Enumeration TcpState
Members
MemberDescription
Unknown
The TCP connection state is unknown.

Closed
The TCP connection is closed.

Listen
The local endpoint of the TCP connection is listening for a connection request from any remote endpoint.

SynSent
The local endpoint of the TCP connection has sent the remote endpoint a segment header with the synchronize (SYN) control bit set and is waiting for a matching connection request.

SynReceived
The local endpoint of the TCP connection has sent and received a connection request and is waiting for an acknowledgment.

Established
The TCP handshake is complete. The connection has been established and data can be sent.

FinWait1
The local endpoint of the TCP connection is waiting for a connection termination request from the remote endpoint or for an acknowledgement of the connection termination request sent previously.

FinWait2
The local endpoint of the TCP connection is waiting for a connection termination request from the remote endpoint.

CloseWait
The local endpoint of the TCP connection is waiting for a connection termination request from the local user.

Closing
The local endpoint of the TCP connection is waiting for an acknowledgement of the connection termination request sent previously.

LastAck
The local endpoint of the TCP connection is waiting for the final acknowledgement of the connection termination request sent previously.

TimeWait
The local endpoint of the TCP connection is waiting for enough time to pass to ensure that the remote endpoint received the acknowledgement of its connection termination request.

DeleteTcb
The transmission control buffer (TCB) for the TCP connection is being deleted.

HasFlag
Determines whether one or more bit fields are set in the current instance.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0