public enum TcpConnectionState : System.Enum
public enum TcpConnectionState : System.Enum
Member | Description |
---|---|
Closed | The connection is closed |
CloseWait | Indicates that the server has received the first FIN signal from the client and the connection is in the process of being closed. This means the socket is waiting for the application to execute close() . A socket can be in CLOSE_WAIT state indefinitely until the application closes it |
Closing | Waiting for a connection termination request acknowledgment from the remote TCP. This state is entered when this endpoint receives a close request from the local application, sends a termination request to the remote endpoint, and receives a termination request before it receives the acknowledgment from the remote endpoint. |
DeleteTCB | The connection is in delete being deleted |
Established | Represents a fully established connection; this is the normal state for the data transfer phase of the connection. |
FinWait1 | Waiting for an acknowledgment of the connection termination request or for a simultaneous connection termination request from the remote TCP. This state is normally of short duration. |
FinWait2 | FIN_WAIT_2 seems to occur when the server has an active connection with a client and wants to shut down the TCP connection (probably in response to a normal application layer "exit"). The server sends the client a packet with a "FIN" bit set. At this point, the server is in FIN_WAIT_1 state |
LastAcknowlaged | Waiting for an acknowledgment of the connection termination request previously sent to the remote TCP. This state is entered when this endpoint received a termination request before it sent its termination request. |
Listening | Waiting for a connection request from a remote TCP application. This is the state in which you can find the listening socket of a local TCP server. |
None | The connection is note having an assigned state |
SynchronisationRecived | This endpoint has received a connection request and sent an acknowledgment. This endpoint is waiting for final acknowledgment that the other endpoint did receive this endpoint's acknowledgment of the original connection request. Results after step 2 of the three-way TCP handshake. |
SynchronisationSend | Waiting for an acknowledgment from the remote endpoint after having sent a connection request. Results after step 1 of the three-way TCP handshake. |
timeWait | Waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request. |
System.Object
System.ValueType
System.Enum
Walter.Net.LookWhosTalking.TcpConnectionState
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2