OpenNETCF Smart Device Framework 2.2
Specifies the states of a Transmission Control Protocol (TCP) connection.

Namespace:  OpenNETCF.Net.NetworkInformation
Assembly:  OpenNETCF.Net (in OpenNETCF.Net)
Version: 2.2.0.0

Syntax

C#
public enum TcpState
Visual Basic (Declaration)
Public Enumeration TcpState
Visual Basic (Usage)
Dim instance As TcpState
Visual C++
public enum class TcpState
J#
public enum TcpState
JScript
public enum TcpState

Members

Member nameDescription
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.

See Also