mscorlib(4.0.0.0) API with additions
SocketError.cs
1 namespace System.Net.Sockets
2 {
4  [global::__DynamicallyInvokable]
5  public enum SocketError
6  {
8  [global::__DynamicallyInvokable]
9  Success = 0,
11  [global::__DynamicallyInvokable]
12  SocketError = -1,
14  [global::__DynamicallyInvokable]
15  Interrupted = 10004,
17  [global::__DynamicallyInvokable]
18  AccessDenied = 10013,
20  [global::__DynamicallyInvokable]
21  Fault = 10014,
23  [global::__DynamicallyInvokable]
24  InvalidArgument = 10022,
26  [global::__DynamicallyInvokable]
27  TooManyOpenSockets = 10024,
29  [global::__DynamicallyInvokable]
30  WouldBlock = 10035,
32  [global::__DynamicallyInvokable]
33  InProgress = 10036,
35  [global::__DynamicallyInvokable]
36  AlreadyInProgress = 10037,
38  [global::__DynamicallyInvokable]
39  NotSocket = 10038,
41  [global::__DynamicallyInvokable]
44  [global::__DynamicallyInvokable]
45  MessageSize = 10040,
47  [global::__DynamicallyInvokable]
48  ProtocolType = 10041,
50  [global::__DynamicallyInvokable]
51  ProtocolOption = 10042,
53  [global::__DynamicallyInvokable]
54  ProtocolNotSupported = 10043,
56  [global::__DynamicallyInvokable]
57  SocketNotSupported = 10044,
59  [global::__DynamicallyInvokable]
60  OperationNotSupported = 10045,
62  [global::__DynamicallyInvokable]
65  [global::__DynamicallyInvokable]
68  [global::__DynamicallyInvokable]
69  AddressAlreadyInUse = 10048,
71  [global::__DynamicallyInvokable]
72  AddressNotAvailable = 10049,
74  [global::__DynamicallyInvokable]
75  NetworkDown = 10050,
77  [global::__DynamicallyInvokable]
78  NetworkUnreachable = 10051,
80  [global::__DynamicallyInvokable]
81  NetworkReset = 10052,
83  [global::__DynamicallyInvokable]
84  ConnectionAborted = 10053,
86  [global::__DynamicallyInvokable]
87  ConnectionReset = 10054,
89  [global::__DynamicallyInvokable]
90  NoBufferSpaceAvailable = 10055,
92  [global::__DynamicallyInvokable]
93  IsConnected = 10056,
95  [global::__DynamicallyInvokable]
96  NotConnected = 10057,
98  [global::__DynamicallyInvokable]
99  Shutdown = 10058,
101  [global::__DynamicallyInvokable]
102  TimedOut = 10060,
104  [global::__DynamicallyInvokable]
105  ConnectionRefused = 10061,
107  [global::__DynamicallyInvokable]
108  HostDown = 10064,
110  [global::__DynamicallyInvokable]
111  HostUnreachable = 10065,
113  [global::__DynamicallyInvokable]
114  ProcessLimit = 10067,
116  [global::__DynamicallyInvokable]
117  SystemNotReady = 10091,
119  [global::__DynamicallyInvokable]
120  VersionNotSupported = 10092,
122  [global::__DynamicallyInvokable]
123  NotInitialized = 10093,
125  [global::__DynamicallyInvokable]
126  Disconnecting = 10101,
128  [global::__DynamicallyInvokable]
129  TypeNotFound = 10109,
131  [global::__DynamicallyInvokable]
132  HostNotFound = 11001,
134  [global::__DynamicallyInvokable]
135  TryAgain = 11002,
137  [global::__DynamicallyInvokable]
138  NoRecovery = 11003,
140  [global::__DynamicallyInvokable]
141  NoData = 11004,
143  [global::__DynamicallyInvokable]
144  IOPending = 997,
146  [global::__DynamicallyInvokable]
147  OperationAborted = 995
148  }
149 }
Only one use of an address is normally permitted.
The address family is not supported by the protocol family.
The operation failed because the remote host is down.
The name of the host could not be resolved. Try again later.
The support for the specified socket type does not exist in this address family.
The specified class was not found.
The network is not available.
Too many processes are using the underlying socket provider.
A request to send or receive data was disallowed because the T:System.Net.Sockets....
The version of the underlying socket provider is out of range.
The protocol is not implemented or has not been configured.
The selected IP address is not valid in this context.
The application has initiated an overlapped operation that cannot be completed immediately.
The overlapped operation was aborted due to the closure of the T:System.Net.Sockets....
The connection was aborted by the .NET Framework or the underlying socket provider.
An operation on a nonblocking socket cannot be completed immediately.
The T:System.Net.Sockets.Socket is already connected.
An invalid pointer address was detected by the underlying socket provider.
A blocking T:System.Net.Sockets.Socket call was canceled.
There is no network route to the specified host.
The protocol family is not implemented or has not been configured.
No free buffer space is available for a T:System.Net.Sockets.Socket operation.
The nonblocking T:System.Net.Sockets.Socket already has an operation in progress.
The application tried to set F:System.Net.Sockets.SocketOptionName.KeepAlive on a connection that has...
The requested name or IP address was not found on the name server.
The error is unrecoverable or the requested database cannot be located.
The remote host is actively refusing a connection.
The address family specified is not supported. This error is returned if the IPv6 address family was ...
The application tried to send or receive data, and the T:System.Net.Sockets.Socket is not connected.
A T:System.Net.Sockets.Socket operation was attempted on a non-socket.
An invalid argument was supplied to a T:System.Net.Sockets.Socket member.
A required address was omitted from an operation on a T:System.Net.Sockets.Socket.
An unknown, invalid, or unsupported option or level was used with a T:System.Net.Sockets....
The network subsystem is unavailable.
A graceful shutdown is in progress.
SocketError
Defines error codes for the T:System.Net.Sockets.Socket class.
Definition: SocketError.cs:5
There are too many open sockets in the underlying socket provider.
The connection was reset by the remote peer.
ProtocolType
Specifies the protocols that the T:System.Net.Sockets.Socket class supports.
Definition: ProtocolType.cs:4
No such host is known. The name is not an official host name or alias.
No route to the remote host exists.