93
79
return "Transport endpoint is already connected";
95
81
return "Transport endpoint is not connected";
97
return "Cannot send after transport endpoint shutdown";
99
return "Too many references: cannot splice";
101
83
return "Connection timed out";
102
84
case ECONNREFUSED:
103
85
return "Connection refused";
105
87
return "Too many levels of symbolic links";
89
return "No route to host";
91
return "Operation would block";
93
#if GNULIB_defined_ESTREAMS /* native Windows platforms with older <errno.h> */
95
return "Text file busy";
97
return "No data available";
99
return "Out of streams resources";
101
return "Device not a stream";
103
return "Timer expired";
105
return "Other error";
107
#if GNULIB_defined_EWINSOCK /* native Windows platforms */
108
case ESOCKTNOSUPPORT:
109
return "Socket type not supported";
111
return "Protocol family not supported";
113
return "Cannot send after transport endpoint shutdown";
115
return "Too many references: cannot splice";
107
117
return "Host is down";
109
return "No route to host";
111
119
return "Too many processes";
134
142
/* WSAEINVAL maps to EINVAL */
135
143
/* WSAEMFILE maps to EMFILE */
136
144
/* WSAEWOULDBLOCK maps to EWOULDBLOCK */
137
/* WSAEINPROGRESS is EINPROGRESS */
138
/* WSAEALREADY is EALREADY */
139
/* WSAENOTSOCK is ENOTSOCK */
140
/* WSAEDESTADDRREQ is EDESTADDRREQ */
141
/* WSAEMSGSIZE is EMSGSIZE */
142
/* WSAEPROTOTYPE is EPROTOTYPE */
143
/* WSAENOPROTOOPT is ENOPROTOOPT */
144
/* WSAEPROTONOSUPPORT is EPROTONOSUPPORT */
145
/* WSAEINPROGRESS maps to EINPROGRESS */
146
/* WSAEALREADY maps to EALREADY */
147
/* WSAENOTSOCK maps to ENOTSOCK */
148
/* WSAEDESTADDRREQ maps to EDESTADDRREQ */
149
/* WSAEMSGSIZE maps to EMSGSIZE */
150
/* WSAEPROTOTYPE maps to EPROTOTYPE */
151
/* WSAENOPROTOOPT maps to ENOPROTOOPT */
152
/* WSAEPROTONOSUPPORT maps to EPROTONOSUPPORT */
145
153
/* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */
146
/* WSAEOPNOTSUPP is EOPNOTSUPP */
154
/* WSAEOPNOTSUPP maps to EOPNOTSUPP */
147
155
/* WSAEPFNOSUPPORT is EPFNOSUPPORT */
148
/* WSAEAFNOSUPPORT is EAFNOSUPPORT */
149
/* WSAEADDRINUSE is EADDRINUSE */
150
/* WSAEADDRNOTAVAIL is EADDRNOTAVAIL */
151
/* WSAENETDOWN is ENETDOWN */
152
/* WSAENETUNREACH is ENETUNREACH */
153
/* WSAENETRESET is ENETRESET */
154
/* WSAECONNABORTED is ECONNABORTED */
155
/* WSAECONNRESET is ECONNRESET */
156
/* WSAENOBUFS is ENOBUFS */
157
/* WSAEISCONN is EISCONN */
158
/* WSAENOTCONN is ENOTCONN */
156
/* WSAEAFNOSUPPORT maps to EAFNOSUPPORT */
157
/* WSAEADDRINUSE maps to EADDRINUSE */
158
/* WSAEADDRNOTAVAIL maps to EADDRNOTAVAIL */
159
/* WSAENETDOWN maps to ENETDOWN */
160
/* WSAENETUNREACH maps to ENETUNREACH */
161
/* WSAENETRESET maps to ENETRESET */
162
/* WSAECONNABORTED maps to ECONNABORTED */
163
/* WSAECONNRESET maps to ECONNRESET */
164
/* WSAENOBUFS maps to ENOBUFS */
165
/* WSAEISCONN maps to EISCONN */
166
/* WSAENOTCONN maps to ENOTCONN */
159
167
/* WSAESHUTDOWN is ESHUTDOWN */
160
168
/* WSAETOOMANYREFS is ETOOMANYREFS */
161
/* WSAETIMEDOUT is ETIMEDOUT */
162
/* WSAECONNREFUSED is ECONNREFUSED */
163
/* WSAELOOP is ELOOP */
169
/* WSAETIMEDOUT maps to ETIMEDOUT */
170
/* WSAECONNREFUSED maps to ECONNREFUSED */
171
/* WSAELOOP maps to ELOOP */
164
172
/* WSAENAMETOOLONG maps to ENAMETOOLONG */
165
173
/* WSAEHOSTDOWN is EHOSTDOWN */
166
/* WSAEHOSTUNREACH is EHOSTUNREACH */
174
/* WSAEHOSTUNREACH maps to EHOSTUNREACH */
167
175
/* WSAENOTEMPTY maps to ENOTEMPTY */
168
176
/* WSAEPROCLIM is EPROCLIM */
169
177
/* WSAEUSERS is EUSERS */