[Bf-committers] Re: Frameserver on windows?

Stephane SOPPERA stephane.soppera at wanadoo.fr
Fri Jul 14 12:48:53 CEST 2006


Hi,

It does not compile since winsock2.h must be included before windows.h. 
Otherwise, windows.h includes winsock.h and there are name conflicts.
Moreover the line (288):
            if (errno != EINTR) {
does not compile since EINTR is not defined on windows.
Here is the help page about select in MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/select_2.asp
The error should not be tested with errno as in UNIX but with 
*WSAGetLastError* 
<http://msdn.microsoft.com/library/en-us/winsock/winsock/wsagetlasterror_2.asp>

Except those two problems, it seems to work correctly.

Stephane

Peter Schlaile a écrit :
> Hi,
>
> just wrote a quick fix. Could someone with access to MSVC test, if this works?
>
> http://peter.schlaile.de/blender/sequencer/frameserver.diff
>
> (or alternatively as dropin replacement:
> http://peter.schlaile.de/blender/sequencer/writeframeserver.c
> )
>
> Greetings,
> Peter
>
> ----
> Peter Schlaile <peter at schlaile.de> [Telefon: 0721 - 130277]
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
>   



More information about the Bf-committers mailing list