libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Real Windows support?


From: Evgeny Grin
Subject: Re: [libmicrohttpd] Real Windows support?
Date: Wed, 16 Oct 2013 17:19:09 +0400


14.10.2013, 22:39, "Luke-Jr" <address@hidden>:
> On Monday, October 14, 2013 7:08:15 AM LRN wrote:
>
>>  2) Rewrite MHD to use Windows sockets and other Windows constructs
>>  (async callbacks, threads/fibers, completion routines, etc). This will
>>  most likely fork MHD, since the code you end up with will not be
>>  compatible with the POSIX abstractions that MHD uses.
>
> Windows sockets basically just infer a change of headers included, an
> additional call at startup, and a different type for sockets (which is
> trivially resolved with a typedef). In my experience, it is otherwise
> completely compatible with standard BSD sockets. While Windows does have some
> advanced socket stuff, I concluded after some research that it doesn't provide
> any tangible benefits over using select.

Win32 sockets itself are mostly compatible.
But 'select' on win32 can be used only on sockets, while MHD use it for pipes 
too,


Best Wishes,
Evgeny



reply via email to

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