201 lines
8.8 KiB
C#
201 lines
8.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Sockets
|
|
{
|
|
/// <summary>Defines error codes for the <see cref="T:System.Net.Sockets.Socket" /> class.</summary>
|
|
// Token: 0x020002E4 RID: 740
|
|
[Token(Token = "0x20002E4")]
|
|
public enum SocketError
|
|
{
|
|
/// <summary>The <see cref="T:System.Net.Sockets.Socket" /> operation succeeded.</summary>
|
|
// Token: 0x04000C19 RID: 3097
|
|
[Token(Token = "0x4000C19")]
|
|
Success,
|
|
/// <summary>An unspecified <see cref="T:System.Net.Sockets.Socket" /> error has occurred.</summary>
|
|
// Token: 0x04000C1A RID: 3098
|
|
[Token(Token = "0x4000C1A")]
|
|
SocketError = -1,
|
|
/// <summary>A blocking <see cref="T:System.Net.Sockets.Socket" /> call was canceled.</summary>
|
|
// Token: 0x04000C1B RID: 3099
|
|
[Token(Token = "0x4000C1B")]
|
|
Interrupted = 10004,
|
|
/// <summary>An attempt was made to access a <see cref="T:System.Net.Sockets.Socket" /> in a way that is forbidden by its access permissions.</summary>
|
|
// Token: 0x04000C1C RID: 3100
|
|
[Token(Token = "0x4000C1C")]
|
|
AccessDenied = 10013,
|
|
/// <summary>An invalid pointer address was detected by the underlying socket provider.</summary>
|
|
// Token: 0x04000C1D RID: 3101
|
|
[Token(Token = "0x4000C1D")]
|
|
Fault,
|
|
/// <summary>An invalid argument was supplied to a <see cref="T:System.Net.Sockets.Socket" /> member.</summary>
|
|
// Token: 0x04000C1E RID: 3102
|
|
[Token(Token = "0x4000C1E")]
|
|
InvalidArgument = 10022,
|
|
/// <summary>There are too many open sockets in the underlying socket provider.</summary>
|
|
// Token: 0x04000C1F RID: 3103
|
|
[Token(Token = "0x4000C1F")]
|
|
TooManyOpenSockets = 10024,
|
|
/// <summary>An operation on a nonblocking socket cannot be completed immediately.</summary>
|
|
// Token: 0x04000C20 RID: 3104
|
|
[Token(Token = "0x4000C20")]
|
|
WouldBlock = 10035,
|
|
/// <summary>A blocking operation is in progress.</summary>
|
|
// Token: 0x04000C21 RID: 3105
|
|
[Token(Token = "0x4000C21")]
|
|
InProgress,
|
|
/// <summary>The nonblocking <see cref="T:System.Net.Sockets.Socket" /> already has an operation in progress.</summary>
|
|
// Token: 0x04000C22 RID: 3106
|
|
[Token(Token = "0x4000C22")]
|
|
AlreadyInProgress,
|
|
/// <summary>A <see cref="T:System.Net.Sockets.Socket" /> operation was attempted on a non-socket.</summary>
|
|
// Token: 0x04000C23 RID: 3107
|
|
[Token(Token = "0x4000C23")]
|
|
NotSocket,
|
|
/// <summary>A required address was omitted from an operation on a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
// Token: 0x04000C24 RID: 3108
|
|
[Token(Token = "0x4000C24")]
|
|
DestinationAddressRequired,
|
|
/// <summary>The datagram is too long.</summary>
|
|
// Token: 0x04000C25 RID: 3109
|
|
[Token(Token = "0x4000C25")]
|
|
MessageSize,
|
|
/// <summary>The protocol type is incorrect for this <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
// Token: 0x04000C26 RID: 3110
|
|
[Token(Token = "0x4000C26")]
|
|
ProtocolType,
|
|
/// <summary>An unknown, invalid, or unsupported option or level was used with a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
// Token: 0x04000C27 RID: 3111
|
|
[Token(Token = "0x4000C27")]
|
|
ProtocolOption,
|
|
/// <summary>The protocol is not implemented or has not been configured.</summary>
|
|
// Token: 0x04000C28 RID: 3112
|
|
[Token(Token = "0x4000C28")]
|
|
ProtocolNotSupported,
|
|
/// <summary>The support for the specified socket type does not exist in this address family.</summary>
|
|
// Token: 0x04000C29 RID: 3113
|
|
[Token(Token = "0x4000C29")]
|
|
SocketNotSupported,
|
|
/// <summary>The address family is not supported by the protocol family.</summary>
|
|
// Token: 0x04000C2A RID: 3114
|
|
[Token(Token = "0x4000C2A")]
|
|
OperationNotSupported,
|
|
/// <summary>The protocol family is not implemented or has not been configured.</summary>
|
|
// Token: 0x04000C2B RID: 3115
|
|
[Token(Token = "0x4000C2B")]
|
|
ProtocolFamilyNotSupported,
|
|
/// <summary>The address family specified is not supported. This error is returned if the IPv6 address family was specified and the IPv6 stack is not installed on the local machine. This error is returned if the IPv4 address family was specified and the IPv4 stack is not installed on the local machine.</summary>
|
|
// Token: 0x04000C2C RID: 3116
|
|
[Token(Token = "0x4000C2C")]
|
|
AddressFamilyNotSupported,
|
|
/// <summary>Only one use of an address is normally permitted.</summary>
|
|
// Token: 0x04000C2D RID: 3117
|
|
[Token(Token = "0x4000C2D")]
|
|
AddressAlreadyInUse,
|
|
/// <summary>The selected IP address is not valid in this context.</summary>
|
|
// Token: 0x04000C2E RID: 3118
|
|
[Token(Token = "0x4000C2E")]
|
|
AddressNotAvailable,
|
|
/// <summary>The network is not available.</summary>
|
|
// Token: 0x04000C2F RID: 3119
|
|
[Token(Token = "0x4000C2F")]
|
|
NetworkDown,
|
|
/// <summary>No route to the remote host exists.</summary>
|
|
// Token: 0x04000C30 RID: 3120
|
|
[Token(Token = "0x4000C30")]
|
|
NetworkUnreachable,
|
|
/// <summary>The application tried to set <see cref="F:System.Net.Sockets.SocketOptionName.KeepAlive" /> on a connection that has already timed out.</summary>
|
|
// Token: 0x04000C31 RID: 3121
|
|
[Token(Token = "0x4000C31")]
|
|
NetworkReset,
|
|
/// <summary>The connection was aborted by the .NET Framework or the underlying socket provider.</summary>
|
|
// Token: 0x04000C32 RID: 3122
|
|
[Token(Token = "0x4000C32")]
|
|
ConnectionAborted,
|
|
/// <summary>The connection was reset by the remote peer.</summary>
|
|
// Token: 0x04000C33 RID: 3123
|
|
[Token(Token = "0x4000C33")]
|
|
ConnectionReset,
|
|
/// <summary>No free buffer space is available for a <see cref="T:System.Net.Sockets.Socket" /> operation.</summary>
|
|
// Token: 0x04000C34 RID: 3124
|
|
[Token(Token = "0x4000C34")]
|
|
NoBufferSpaceAvailable,
|
|
/// <summary>The <see cref="T:System.Net.Sockets.Socket" /> is already connected.</summary>
|
|
// Token: 0x04000C35 RID: 3125
|
|
[Token(Token = "0x4000C35")]
|
|
IsConnected,
|
|
/// <summary>The application tried to send or receive data, and the <see cref="T:System.Net.Sockets.Socket" /> is not connected.</summary>
|
|
// Token: 0x04000C36 RID: 3126
|
|
[Token(Token = "0x4000C36")]
|
|
NotConnected,
|
|
/// <summary>A request to send or receive data was disallowed because the <see cref="T:System.Net.Sockets.Socket" /> has already been closed.</summary>
|
|
// Token: 0x04000C37 RID: 3127
|
|
[Token(Token = "0x4000C37")]
|
|
Shutdown,
|
|
/// <summary>The connection attempt timed out, or the connected host has failed to respond.</summary>
|
|
// Token: 0x04000C38 RID: 3128
|
|
[Token(Token = "0x4000C38")]
|
|
TimedOut = 10060,
|
|
/// <summary>The remote host is actively refusing a connection.</summary>
|
|
// Token: 0x04000C39 RID: 3129
|
|
[Token(Token = "0x4000C39")]
|
|
ConnectionRefused,
|
|
/// <summary>The operation failed because the remote host is down.</summary>
|
|
// Token: 0x04000C3A RID: 3130
|
|
[Token(Token = "0x4000C3A")]
|
|
HostDown = 10064,
|
|
/// <summary>There is no network route to the specified host.</summary>
|
|
// Token: 0x04000C3B RID: 3131
|
|
[Token(Token = "0x4000C3B")]
|
|
HostUnreachable,
|
|
/// <summary>Too many processes are using the underlying socket provider.</summary>
|
|
// Token: 0x04000C3C RID: 3132
|
|
[Token(Token = "0x4000C3C")]
|
|
ProcessLimit = 10067,
|
|
/// <summary>The network subsystem is unavailable.</summary>
|
|
// Token: 0x04000C3D RID: 3133
|
|
[Token(Token = "0x4000C3D")]
|
|
SystemNotReady = 10091,
|
|
/// <summary>The version of the underlying socket provider is out of range.</summary>
|
|
// Token: 0x04000C3E RID: 3134
|
|
[Token(Token = "0x4000C3E")]
|
|
VersionNotSupported,
|
|
/// <summary>The underlying socket provider has not been initialized.</summary>
|
|
// Token: 0x04000C3F RID: 3135
|
|
[Token(Token = "0x4000C3F")]
|
|
NotInitialized,
|
|
/// <summary>A graceful shutdown is in progress.</summary>
|
|
// Token: 0x04000C40 RID: 3136
|
|
[Token(Token = "0x4000C40")]
|
|
Disconnecting = 10101,
|
|
/// <summary>The specified class was not found.</summary>
|
|
// Token: 0x04000C41 RID: 3137
|
|
[Token(Token = "0x4000C41")]
|
|
TypeNotFound = 10109,
|
|
/// <summary>No such host is known. The name is not an official host name or alias.</summary>
|
|
// Token: 0x04000C42 RID: 3138
|
|
[Token(Token = "0x4000C42")]
|
|
HostNotFound = 11001,
|
|
/// <summary>The name of the host could not be resolved. Try again later.</summary>
|
|
// Token: 0x04000C43 RID: 3139
|
|
[Token(Token = "0x4000C43")]
|
|
TryAgain,
|
|
/// <summary>The error is unrecoverable or the requested database cannot be located.</summary>
|
|
// Token: 0x04000C44 RID: 3140
|
|
[Token(Token = "0x4000C44")]
|
|
NoRecovery,
|
|
/// <summary>The requested name or IP address was not found on the name server.</summary>
|
|
// Token: 0x04000C45 RID: 3141
|
|
[Token(Token = "0x4000C45")]
|
|
NoData,
|
|
/// <summary>The application has initiated an overlapped operation that cannot be completed immediately.</summary>
|
|
// Token: 0x04000C46 RID: 3142
|
|
[Token(Token = "0x4000C46")]
|
|
IOPending = 997,
|
|
/// <summary>The overlapped operation was aborted due to the closure of the <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
// Token: 0x04000C47 RID: 3143
|
|
[Token(Token = "0x4000C47")]
|
|
OperationAborted = 995
|
|
}
|
|
}
|