38
33
/* These are intentionally the same values as the WSA* error numbers, defined
39
34
in <winsock2.h>. */
40
# define EINPROGRESS 10036
41
# define EALREADY 10037
35
# define EINPROGRESS WSAEINPROGRESS
36
# define EALREADY WSAEALREADY
37
# define EISCONN WSAEISCONN
38
# define ENOBUFS WSAENOBUFS
39
# define EAGAIN WSAEWOULDBLOCK
40
# define EINTR WSAEINTR
41
# define EPIPE WSAECONNRESET
42
# define EINVAL WSAEINVAL
43
# define ECONNREFUSED WSAECONNREFUSED
44
# define ENETUNREACH WSAENETUNREACH
45
# define ETIMEDOUT WSAETIMEDOUT
46
# define ECONNRESET WSAECONNRESET
47
# define EADDRINUSE WSAEADDRINUSE
48
# define EOPNOTSUPP WSAEOPNOTSUPP
49
# define ENOPROTOOPT WSAENOPROTOOPT
42
50
# define ENOTSOCK 10038
43
51
# define EDESTADDRREQ 10039
44
52
# define EMSGSIZE 10040
45
53
# define EPROTOTYPE 10041
46
# define ENOPROTOOPT 10042
47
54
# define EPROTONOSUPPORT 10043
48
55
# define ESOCKTNOSUPPORT 10044 /* not required by POSIX */
49
# define EOPNOTSUPP 10045
50
56
# define EPFNOSUPPORT 10046 /* not required by POSIX */
51
57
# define EAFNOSUPPORT 10047
52
# define EADDRINUSE 10048
53
58
# define EADDRNOTAVAIL 10049
54
59
# define ENETDOWN 10050
55
# define ENETUNREACH 10051
56
60
# define ENETRESET 10052
57
61
# define ECONNABORTED 10053
58
# define ECONNRESET 10054
59
# define ENOBUFS 10055
60
# define EISCONN 10056
61
62
# define ENOTCONN 10057
62
63
# define ESHUTDOWN 10058 /* not required by POSIX */
63
64
# define ETOOMANYREFS 10059 /* not required by POSIX */
64
# define ETIMEDOUT 10060
65
# define ECONNREFUSED 10061
66
65
# define ELOOP 10062
67
66
# define EHOSTDOWN 10064 /* not required by POSIX */
68
67
# define EHOSTUNREACH 10065