libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Real Windows support?


From: Nils Durner
Subject: Re: [libmicrohttpd] Real Windows support?
Date: Wed, 23 Oct 2013 19:50:00 +0200

Hi Christian,

as the PlibC implementation of select() does more than just interleave
between Windows' select() and pipe polling, I don't see how "getting
rid of plibc" would actually make sense (other than to please the
masses ;-)).
OTOH, using a socket instead of a pipe does make sense (because
aforementioned interleaving would not take place anymore). I had
planned to hack on this (and 64-bit safety as pointed out by Evgeny)
already, but Ubuntu distupgrade mayhem got in my way.

Regards,

Nils


> Am 23.10.2013 um 19:31 schrieb Christian Grothoff <address@hidden>:
>
> This does sound reasonable to me, and if that approach allows us to
> get rid of plibc and make everyone happy, I'm fine with it.  However,
> I won't do this myself as I don't do W32 development and thus could
> not reasonably test this.  I would also ask that any patch provided
> to do this should be run by LRN and/or Nils just to make sure we don't
> have unexpected regressions.
>
> Happy hacking!
>
> Christian
>
>> On 10/16/2013 05:50 PM, Luke-Jr wrote:
>>> On Wednesday, October 16, 2013 1:19:09 PM Evgeny Grin wrote:
>>> Win32 sockets itself are mostly compatible.
>>> But 'select' on win32 can be used only on sockets, while MHD use it for
>>> pipes too,
>>
>> I use sockets in place of pipes to workaround this:
>>    http://git.savannah.gnu.org/cgit/bfgminer.git/tree/util.c#n2626
>>
>> Luke
>>



reply via email to

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