using System; namespace System.Net.NetworkInformation { /// Specifies the states of a Transmission Control Protocol (TCP) connection. // Token: 0x020001B7 RID: 439 public enum TcpState { /// The TCP connection state is unknown. // Token: 0x04000CFC RID: 3324 Unknown, /// The TCP connection is closed. // Token: 0x04000CFD RID: 3325 Closed, /// The local endpoint of the TCP connection is listening for a connection request from any remote endpoint. // Token: 0x04000CFE RID: 3326 Listen, /// 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. // Token: 0x04000CFF RID: 3327 SynSent, /// The local endpoint of the TCP connection has sent and received a connection request and is waiting for an acknowledgment. // Token: 0x04000D00 RID: 3328 SynReceived, /// The TCP handshake is complete. The connection has been established and data can be sent. // Token: 0x04000D01 RID: 3329 Established, /// 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. // Token: 0x04000D02 RID: 3330 FinWait1, /// The local endpoint of the TCP connection is waiting for a connection termination request from the remote endpoint. // Token: 0x04000D03 RID: 3331 FinWait2, /// The local endpoint of the TCP connection is waiting for a connection termination request from the local user. // Token: 0x04000D04 RID: 3332 CloseWait, /// The local endpoint of the TCP connection is waiting for an acknowledgement of the connection termination request sent previously. // Token: 0x04000D05 RID: 3333 Closing, /// The local endpoint of the TCP connection is waiting for the final acknowledgement of the connection termination request sent previously. // Token: 0x04000D06 RID: 3334 LastAck, /// 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. // Token: 0x04000D07 RID: 3335 TimeWait, /// The transmission control buffer (TCB) for the TCP connection is being deleted. // Token: 0x04000D08 RID: 3336 DeleteTcb } }