33#ifdef MHD_WINSOCK_SOCKETS
48 return "Specified event object handle is invalid";
50 return "Insufficient memory available";
52 return "One or more parameters are invalid";
54 return "Overlapped operation aborted";
56 return "Overlapped I/O event object not in signaled state";
58 return "Overlapped operations will complete later";
60 return "Interrupted function call";
62 return "File handle is not valid";
64 return "Permission denied";
68 return "Invalid argument";
70 return "Too many open files";
72 return "Resource temporarily unavailable";
74 return "Operation now in progress";
76 return "Operation already in progress";
78 return "Socket operation on nonsocket";
80 return "Destination address required";
82 return "Message too long";
84 return "Protocol wrong type for socket";
86 return "Bad protocol option";
88 return "Protocol not supported";
90 return "Socket type not supported";
92 return "Operation not supported";
94 return "Protocol family not supported";
96 return "Address family not supported by protocol family";
98 return "Address already in use";
100 return "Cannot assign requested address";
102 return "Network is down";
104 return "Network is unreachable";
106 return "Network dropped connection on reset";
108 return "Software caused connection abort";
110 return "Connection reset by peer";
112 return "No buffer space available";
114 return "Socket is already connected";
116 return "Socket is not connected";
118 return "Cannot send after socket shutdown";
120 return "Too many references";
122 return "Connection timed out";
124 return "Connection refused";
126 return "Cannot translate name";
128 return "Name too long";
130 return "Host is down";
132 return "No route to host";
134 return "Directory not empty";
136 return "Too many processes";
138 return "User quota exceeded";
140 return "Disk quota exceeded";
142 return "Stale file handle reference";
144 return "Item is remote";
146 return "Network subsystem is unavailable";
148 return "Winsock.dll version out of range";
150 return "Successful WSAStartup not yet performed";
152 return "Graceful shutdown in progress";
154 return "No more results";
156 return "Call has been canceled";
158 return "Procedure call table is invalid";
160 return "Service provider is invalid";
162 return "Service provider failed to initialize";
164 return "System call failure";
166 return "Service not found";
168 return "Class type not found";
170 return "No more results";
172 return "Call was canceled";
174 return "Database query was refused";
176 return "Host not found";
178 return "Nonauthoritative host not found";
180 return "This is a nonrecoverable error";
182 return "Valid name, no data record of requested type";
184 return "QoS receivers";
186 return "QoS senders";
188 return "No QoS senders";
190 return "QoS no receivers";
192 return "QoS request confirmed";
194 return "QoS admission error";
196 return "QoS policy failure";
198 return "QoS bad style";
200 return "QoS bad object";
202 return "QoS traffic control error";
204 return "QoS generic error";
206 return "QoS service type error";
208 return "QoS flowspec error";
210 return "Invalid QoS provider buffer";
212 return "Invalid QoS filter style";
214 return "Invalid QoS filter type";
216 return "Incorrect QoS filter count";
218 return "Invalid QoS object length";
220 return "Incorrect QoS flow count";
222 return "Unrecognized QoS object";
224 return "Invalid QoS policy object";
226 return "Invalid QoS flow descriptor";
228 return "Invalid QoS provider-specific flowspec";
230 return "Invalid QoS provider-specific filterspec";
232 return "Invalid QoS shape discard mode object";
234 return "Invalid QoS shaping rate object";
236 return "Reserved policy QoS element type";
238 return "Unknown winsock error";
260#define PAIRMAXTRYIES 800
335 client_addr.sin_addr.s_addr) &&
382 if ( (
NULL == set) ||
409#if defined(MHD_POSIX_SOCKETS)
422#elif defined(MHD_WINSOCK_SOCKETS)
423 unsigned long flags = 1;
444#if defined(MHD_POSIX_SOCKETS)
457#elif defined(MHD_WINSOCK_SOCKETS)
479#if defined(MHD_POSIX_SOCKETS) && defined(SOCK_CLOEXEC)
484#elif defined(MHD_WINSOCK_SOCKETS) && defined (WSA_FLAG_NO_HANDLE_INHERIT)
504#ifdef MHD_socket_nosignal_
int MHD_add_to_fd_set_(MHD_socket fd, fd_set *set, MHD_socket *max_fd, unsigned int fd_setsize)
int MHD_socket_noninheritable_(MHD_socket sock)
int MHD_socket_nonblocking_(MHD_socket sock)
MHD_socket MHD_socket_create_listen_(int pf)
#define MHD_SCKT_FD_FITS_FDSET_SETSIZE_(fd, pset, setsize)
#define MHD_SCKT_ADD_FD_TO_FDSET_SETSIZE_(fd, pset, setsize)
#define MHD_socket_close_(fd)
#define MHD_socket_get_error_()
#define MHD_socket_fset_error_(err)
#define MHD_INVALID_SOCKET