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