libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Sockets on Windows


From: Nils Durner
Subject: Re: [libmicrohttpd] Sockets on Windows
Date: Sun, 17 Jan 2010 23:37:26 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0


Nils, I'm not sure I understand. Sockets on Windows are unsigned ints.
  

Ah, of course! Thanks for pointing that out.
I have changed the checks of SOCKET and ACCEPT accordingly.

You may want to make FD_SETSIZE the ceiling (and possibly the default)
for max_connections on Windows. (If you FD_SET more than that many
they'll just be ignored anyway.)
  

OK, on Windows it is now
#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE

Thanks again,

Nils

reply via email to

[Prev in Thread] Current Thread [Next in Thread]