qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Win32 support for the GDB stub


From: Filip Navara
Subject: Re: [Qemu-devel] [PATCH] Win32 support for the GDB stub
Date: Sat, 22 Jan 2005 20:39:16 +0100
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

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




reply via email to

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