scripts
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
using System;
|
||||
|
||||
namespace System.Net.Sockets
|
||||
{
|
||||
/// <summary>Defines error codes for the <see cref="T:System.Net.Sockets.Socket" /> class.</summary>
|
||||
// Token: 0x020001EC RID: 492
|
||||
public enum SocketError
|
||||
{
|
||||
/// <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: 0x04000EA9 RID: 3753
|
||||
AccessDenied = 10013,
|
||||
/// <summary>Only one use of an address is normally permitted.</summary>
|
||||
// Token: 0x04000EAA RID: 3754
|
||||
AddressAlreadyInUse = 10048,
|
||||
/// <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: 0x04000EAB RID: 3755
|
||||
AddressFamilyNotSupported = 10047,
|
||||
/// <summary>The selected IP address is not valid in this context.</summary>
|
||||
// Token: 0x04000EAC RID: 3756
|
||||
AddressNotAvailable = 10049,
|
||||
/// <summary>The nonblocking <see cref="T:System.Net.Sockets.Socket" /> already has an operation in progress.</summary>
|
||||
// Token: 0x04000EAD RID: 3757
|
||||
AlreadyInProgress = 10037,
|
||||
/// <summary>The connection was aborted by the .NET Framework or the underlying socket provider.</summary>
|
||||
// Token: 0x04000EAE RID: 3758
|
||||
ConnectionAborted = 10053,
|
||||
/// <summary>The remote host is actively refusing a connection.</summary>
|
||||
// Token: 0x04000EAF RID: 3759
|
||||
ConnectionRefused = 10061,
|
||||
/// <summary>The connection was reset by the remote peer.</summary>
|
||||
// Token: 0x04000EB0 RID: 3760
|
||||
ConnectionReset = 10054,
|
||||
/// <summary>A required address was omitted from an operation on a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
||||
// Token: 0x04000EB1 RID: 3761
|
||||
DestinationAddressRequired = 10039,
|
||||
/// <summary>A graceful shutdown is in progress.</summary>
|
||||
// Token: 0x04000EB2 RID: 3762
|
||||
Disconnecting = 10101,
|
||||
/// <summary>An invalid pointer address was detected by the underlying socket provider.</summary>
|
||||
// Token: 0x04000EB3 RID: 3763
|
||||
Fault = 10014,
|
||||
/// <summary>The operation failed because the remote host is down.</summary>
|
||||
// Token: 0x04000EB4 RID: 3764
|
||||
HostDown = 10064,
|
||||
/// <summary>No such host is known. The name is not an official host name or alias.</summary>
|
||||
// Token: 0x04000EB5 RID: 3765
|
||||
HostNotFound = 11001,
|
||||
/// <summary>There is no network route to the specified host.</summary>
|
||||
// Token: 0x04000EB6 RID: 3766
|
||||
HostUnreachable = 10065,
|
||||
/// <summary>A blocking operation is in progress.</summary>
|
||||
// Token: 0x04000EB7 RID: 3767
|
||||
InProgress = 10036,
|
||||
/// <summary>A blocking <see cref="T:System.Net.Sockets.Socket" /> call was canceled.</summary>
|
||||
// Token: 0x04000EB8 RID: 3768
|
||||
Interrupted = 10004,
|
||||
/// <summary>An invalid argument was supplied to a <see cref="T:System.Net.Sockets.Socket" /> member.</summary>
|
||||
// Token: 0x04000EB9 RID: 3769
|
||||
InvalidArgument = 10022,
|
||||
/// <summary>The application has initiated an overlapped operation that cannot be completed immediately.</summary>
|
||||
// Token: 0x04000EBA RID: 3770
|
||||
IOPending = 997,
|
||||
/// <summary>The <see cref="T:System.Net.Sockets.Socket" /> is already connected.</summary>
|
||||
// Token: 0x04000EBB RID: 3771
|
||||
IsConnected = 10056,
|
||||
/// <summary>The datagram is too long.</summary>
|
||||
// Token: 0x04000EBC RID: 3772
|
||||
MessageSize = 10040,
|
||||
/// <summary>The network is not available.</summary>
|
||||
// Token: 0x04000EBD RID: 3773
|
||||
NetworkDown = 10050,
|
||||
/// <summary>The application tried to set <see cref="F:System.Net.Sockets.SocketOptionName.KeepAlive" /> on a connection that has already timed out.</summary>
|
||||
// Token: 0x04000EBE RID: 3774
|
||||
NetworkReset = 10052,
|
||||
/// <summary>No route to the remote host exists.</summary>
|
||||
// Token: 0x04000EBF RID: 3775
|
||||
NetworkUnreachable = 10051,
|
||||
/// <summary>No free buffer space is available for a <see cref="T:System.Net.Sockets.Socket" /> operation.</summary>
|
||||
// Token: 0x04000EC0 RID: 3776
|
||||
NoBufferSpaceAvailable = 10055,
|
||||
/// <summary>The requested name or IP address was not found on the name server.</summary>
|
||||
// Token: 0x04000EC1 RID: 3777
|
||||
NoData = 11004,
|
||||
/// <summary>The error is unrecoverable or the requested database cannot be located.</summary>
|
||||
// Token: 0x04000EC2 RID: 3778
|
||||
NoRecovery = 11003,
|
||||
/// <summary>The application tried to send or receive data, and the <see cref="T:System.Net.Sockets.Socket" /> is not connected.</summary>
|
||||
// Token: 0x04000EC3 RID: 3779
|
||||
NotConnected = 10057,
|
||||
/// <summary>The underlying socket provider has not been initialized.</summary>
|
||||
// Token: 0x04000EC4 RID: 3780
|
||||
NotInitialized = 10093,
|
||||
/// <summary>A <see cref="T:System.Net.Sockets.Socket" /> operation was attempted on a non-socket.</summary>
|
||||
// Token: 0x04000EC5 RID: 3781
|
||||
NotSocket = 10038,
|
||||
/// <summary>The overlapped operation was aborted due to the closure of the <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
||||
// Token: 0x04000EC6 RID: 3782
|
||||
OperationAborted = 995,
|
||||
/// <summary>The address family is not supported by the protocol family.</summary>
|
||||
// Token: 0x04000EC7 RID: 3783
|
||||
OperationNotSupported = 10045,
|
||||
/// <summary>Too many processes are using the underlying socket provider.</summary>
|
||||
// Token: 0x04000EC8 RID: 3784
|
||||
ProcessLimit = 10067,
|
||||
/// <summary>The protocol family is not implemented or has not been configured.</summary>
|
||||
// Token: 0x04000EC9 RID: 3785
|
||||
ProtocolFamilyNotSupported = 10046,
|
||||
/// <summary>The protocol is not implemented or has not been configured.</summary>
|
||||
// Token: 0x04000ECA RID: 3786
|
||||
ProtocolNotSupported = 10043,
|
||||
/// <summary>An unknown, invalid, or unsupported option or level was used with a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
||||
// Token: 0x04000ECB RID: 3787
|
||||
ProtocolOption = 10042,
|
||||
/// <summary>The protocol type is incorrect for this <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
||||
// Token: 0x04000ECC RID: 3788
|
||||
ProtocolType = 10041,
|
||||
/// <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: 0x04000ECD RID: 3789
|
||||
Shutdown = 10058,
|
||||
/// <summary>An unspecified <see cref="T:System.Net.Sockets.Socket" /> error has occurred.</summary>
|
||||
// Token: 0x04000ECE RID: 3790
|
||||
SocketError = -1,
|
||||
/// <summary>The support for the specified socket type does not exist in this address family.</summary>
|
||||
// Token: 0x04000ECF RID: 3791
|
||||
SocketNotSupported = 10044,
|
||||
/// <summary>The <see cref="T:System.Net.Sockets.Socket" /> operation succeeded.</summary>
|
||||
// Token: 0x04000ED0 RID: 3792
|
||||
Success = 0,
|
||||
/// <summary>The network subsystem is unavailable.</summary>
|
||||
// Token: 0x04000ED1 RID: 3793
|
||||
SystemNotReady = 10091,
|
||||
/// <summary>The connection attempt timed out, or the connected host has failed to respond.</summary>
|
||||
// Token: 0x04000ED2 RID: 3794
|
||||
TimedOut = 10060,
|
||||
/// <summary>There are too many open sockets in the underlying socket provider.</summary>
|
||||
// Token: 0x04000ED3 RID: 3795
|
||||
TooManyOpenSockets = 10024,
|
||||
/// <summary>The name of the host could not be resolved. Try again later.</summary>
|
||||
// Token: 0x04000ED4 RID: 3796
|
||||
TryAgain = 11002,
|
||||
/// <summary>The specified class was not found.</summary>
|
||||
// Token: 0x04000ED5 RID: 3797
|
||||
TypeNotFound = 10109,
|
||||
/// <summary>The version of the underlying socket provider is out of range.</summary>
|
||||
// Token: 0x04000ED6 RID: 3798
|
||||
VersionNotSupported = 10092,
|
||||
/// <summary>An operation on a nonblocking socket cannot be completed immediately.</summary>
|
||||
// Token: 0x04000ED7 RID: 3799
|
||||
WouldBlock = 10035
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user