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