SocketError Enum
NuGet: GHIElectronics.TinyCLR.Networking
Assembly: GHIElectronics.TinyCLR.Networking
Namespace: System.Net.Sockets
Defines socket error constants.
public enum SocketError : int
Fields
| Name | Value | Description |
|---|---|---|
Success | 0 | The operation completed succesfully. |
SocketError | (-1) | The socket has an error. |
Interrupted | (10000 + 4) | A blocking socket call was canceled. |
AccessDenied | (10000 + 13) | Permission denied. |
Fault | (10000 + 14) | Bad address. |
InvalidArgument | (10000 + 22) | Invalid argument. |
TooManyOpenSockets | (10000 + 24) | Too many open files. |
WouldBlock | (10000 + 35) | Resource temporarily unavailable. |
InProgress | (10000 + 36) | Operation now in progress. |
AlreadyInProgress | (10000 + 37) | Operation already in progress. |
NotSocket | (10000 + 38) | Socket operation on nonsocket. |
DestinationAddressRequired | (10000 + 39) | Destination address required. |
MessageSize | (10000 + 40) | Message too long. |
ProtocolType | (10000 + 41) | Protocol wrong type for socket. |
ProtocolOption | (10000 + 42) | Bad protocol option. |
ProtocolNotSupported | (10000 + 43) | Protocol not supported. |
SocketNotSupported | (10000 + 44) | Socket type not supported. |
OperationNotSupported | (10000 + 45) | Operation not supported. |
ProtocolFamilyNotSupported | (10000 + 46) | Protocol family not supported. |
AddressFamilyNotSupported | (10000 + 47) | Address family not supported by protocol family. |
AddressAlreadyInUse | (10000 + 48) | Address already in use. |
AddressNotAvailable | (10000 + 49) | Cannot assign requested address. |
NetworkDown | (10000 + 50) | Network is down. |
NetworkUnreachable | (10000 + 51) | Network is unreachable. |
NetworkReset | (10000 + 52) | Network dropped connection on reset. |
ConnectionAborted | (10000 + 53) | Software caused connection to abort. |
ConnectionReset | (10000 + 54) | Connection reset by peer. |
NoBufferSpaceAvailable | (10000 + 55) | No buffer space available. |
IsConnected | (10000 + 56) | Socket is already connected. |
NotConnected | (10000 + 57) | Socket is not connected. |
Shutdown | (10000 + 58) | Cannot send after socket shutdown. |
TimedOut | (10000 + 60) | Connection timed out. |
ConnectionRefused | (10000 + 61) | Connection refused. |
HostDown | (10000 + 64) | Host is down. |
HostUnreachable | (10000 + 65) | No route to host. |
ProcessLimit | (10000 + 67) | Too many processes. |
SystemNotReady | (10000 + 91) | Network subsystem is unavailable. |
VersionNotSupported | (10000 + 92) | Winsock.dll out of range. |
NotInitialized | (10000 + 93) | Successful startup not yet performed. |
Disconnecting | (10000 + 101) | Graceful shutdown in progress. |
TypeNotFound | (10000 + 109) | The specified class or type was not found. |
HostNotFound | (10000 + 1001) | Host not found (Authoritative Answer: Host not found). |
TryAgain | (10000 + 1002) | Nonauthoritative host not found (Non-Authoritative: Host not found, or SERVERFAIL). |
NoRecovery | (10000 + 1003) | This is a nonrecoverable error (Non recoverable errors, FORMERR, REFUSED, NOTIMP). |
NoData | (10000 + 1004) | Valid name, no data record of requested type. |