NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SocketErrors Fields

The fields of the SocketErrors class are listed below. For a complete list of SocketErrors class members, see the SocketErrors Members topic.

Public:

HOST_NOT_FOUND Host not found.
NO_ADDRESS [To be supplied.]
NO_DATA Valid name, no data record of requested type.
NO_RECOVERY This is a nonrecoverable error.
TRY_AGAIN Nonauthoritative host not found.
WSABASEERR The base value of all socket error constants. All other socket errors are offset from this value.
WSAEACCES Permission denied.
WSAEADDRINUSE Address already in use.
WSAEADDRNOTAVAIL Cannot assign requested address.
WSAEAFNOSUPPORT Address family not supported by protocol family.
WSAEALREADY Operation already in progress.
WSAEBADF [To be supplied.]
WSAECONNABORTED Software caused connection to abort.
WSAECONNREFUSED Connection refused.
WSAECONNRESET Connection reset by peer.
WSAEDESTADDRREQ Destination address required.
WSAEDISCON Graceful shutdown in progress.
WSAEDQUOT [To be supplied.]
WSAEFAULT Bad address.
WSAEHOSTDOWN Host is down.
WSAEHOSTUNREACH No route to host.
WSAEINPROGRESS Operation now in progress.
WSAEINTR A blocking socket call was canceled.
WSAEINVAL Invalid argument.
WSAEISCONN Socket is already connected.
WSAELOOP [To be supplied.]
WSAEMFILE Too many open files.
WSAEMSGSIZE Message too long.
WSAENAMETOOLONG [To be supplied.]
WSAENETDOWN Network is down.
WSAENETRESET Network dropped connection on reset.
WSAENETUNREACH Network is unreachable.
WSAENOBUFS No buffer space available.
WSAENOPROTOOPT Bad protocol option.
WSAENOTCONN Socket is not connected.
WSAENOTEMPTY [To be supplied.]
WSAENOTSOCK Socket operation on nonsocket.
WSAEOPNOTSUPP Operation not supported.
WSAEPFNOSUPPORT Protocol family not supported.
WSAEPROCLIM Too many processes.
WSAEPROTONOSUPPORT Protocol not supported.
WSAEPROTOTYPE Protocol wrong type for socket.
WSAEREMOTE [To be supplied.]
WSAESHUTDOWN Cannot send after socket shutdown.
WSAESOCKTNOSUPPORT Socket type not supported.
WSAESTALE [To be supplied.]
WSAETIMEDOUT Connection timed out.
WSAETOOMANYREFS [To be supplied.]
WSAEUSERS [To be supplied.]
WSAEWOULDBLOCK Resource temporarily unavailable.
WSAHOST_NOT_FOUND Host not found.
WSANOTINITIALISED Successful startup not yet performed.
WSANO_ADDRESS [To be supplied.]
WSANO_DATA Valid name, no data record of requested type.
WSANO_RECOVERY This is a nonrecoverable error.
WSASYSNOTREADY Network subsystem is unavailable.
WSATRY_AGAIN Nonauthoritative host not found.
WSAVERNOTSUPPORTED Winsock.dll out of range.
WSA_IO_PENDING Overlapped operations will complete later.

See Also

SocketErrors Class | System.Net.Sockets Namespace