qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows


From: Johannes Schindelin
Subject: Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows
Date: Sun, 6 Jul 2008 03:51:05 +0200 (CEST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Hi,

On Sat, 5 Jul 2008, Jamie Lokier wrote:

> Filip Navara wrote:
> > Closing sockets with "close" doesn't work on WinSock. Add "#define
> > close closesocket" to the top of file to fix it.

Yep, seems like I missed that, in spite of having looked at some sample 
code of mine.

> Socket error handling is different too, you might want to check any 
> places errno is used in the socket code.

Now, that is funny, as ...

> Or look at the rest of QEMU, which surely does some Windows networking.

... I did exactly that, and copied the GetLastError() part from there.

Puzzled,
Dscho





reply via email to

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