From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CsRSe-0002ll-FF for qemu-devel@nongnu.org; Sat, 22 Jan 2005 15:02:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CsRSX-0002gk-HP for qemu-devel@nongnu.org; Sat, 22 Jan 2005 15:02:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsRSV-0002c6-2f for qemu-devel@nongnu.org; Sat, 22 Jan 2005 15:02:11 -0500 Received: from [195.250.128.83] (helo=smtp3.vol.cz) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CsR6G-0002Uk-Ok for qemu-devel@nongnu.org; Sat, 22 Jan 2005 14:39:13 -0500 Received: from [10.0.0.2] (prg-v-6-220.static.adsl.vol.cz [62.177.70.220]) by smtp3.vol.cz (8.12.9p2/8.12.9) with ESMTP id j0MJdAIV010160 for ; Sat, 22 Jan 2005 20:39:10 +0100 (CET) (envelope-from xnavara@volny.cz) Message-ID: <41F2ABE4.8020104@volny.cz> Date: Sat, 22 Jan 2005 20:39:16 +0100 From: Filip Navara MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Win32 support for the GDB stub References: <41F29576.3090904@volny.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org malc wrote: > On Sat, 22 Jan 2005, Filip Navara wrote: > >> just what the subject says... > > > Why guards around recv/read send/write? Sockets are Win32 handles, while handles from "open" & friends are CRT handles. You can't call "read"/"write" on socket handle in Win32. > And to the best of my knowlege > checking errno after WSA calls wouldn't do much good, WSAGetError should > be used, though i might be way off here. You mean in the gdbstub.c code? I simply overlooked that... - Filip