From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFXR1-0003w0-0n for qemu-devel@nongnu.org; Sun, 06 Jul 2008 12:49:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFXQy-0003vd-Dc for qemu-devel@nongnu.org; Sun, 06 Jul 2008 12:49:57 -0400 Received: from [199.232.76.173] (port=51163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFXQy-0003va-74 for qemu-devel@nongnu.org; Sun, 06 Jul 2008 12:49:56 -0400 Received: from mail2.shareable.org ([80.68.89.115]:55351) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KFXQy-0004UN-Fz for qemu-devel@nongnu.org; Sun, 06 Jul 2008 12:49:56 -0400 Date: Sun, 6 Jul 2008 17:49:52 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows Message-ID: <20080706164951.GA17759@shareable.org> References: <20080704092849.5BC0.20F538E7@nsfocus.com> <20080704023451.GO7007@networkno.de> <20080704115101.5BC9.20F538E7@nsfocus.com> <1215160927.3802.4.camel@frecb07144> <20080704203231.GB31670@networkno.de> <5b31733c0807050458w41aebd89re70cc859602c3681@mail.gmail.com> <20080705224121.GA1787@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Johannes Schindelin Cc: Laurent Vivier , qemu-devel@nongnu.org, chenqing Johannes Schindelin wrote: > > 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. NP, I didn't look at your code, just following on from the parent comment, the few key differences with Winsock. :-) -- Jamie