From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFhmh-0007um-Lh for qemu-devel@nongnu.org; Thu, 07 Oct 2004 19:34:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFhmh-0007u9-8j for qemu-devel@nongnu.org; Thu, 07 Oct 2004 19:34:55 -0400 Received: from [129.104.30.34] (helo=a.mx.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFhfW-0003wP-LN for qemu-devel@nongnu.org; Thu, 07 Oct 2004 19:27:30 -0400 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id C2AB03318D for ; Fri, 8 Oct 2004 01:27:29 +0200 (CEST) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06448-07 for ; Fri, 8 Oct 2004 01:27:29 +0200 (CEST) Received: from bellard.org (unknown [84.99.204.156]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 7619033170 for ; Fri, 8 Oct 2004 01:27:29 +0200 (CEST) Message-ID: <4165D116.30404@bellard.org> Date: Fri, 08 Oct 2004 01:28:22 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Patch to allow user-mode networking for Win32 References: <41646034.7010704@grandecom.net> <4165632C.9080604@grandecom.net> In-Reply-To: <4165632C.9080604@grandecom.net> Content-Type: text/plain; charset=us-ascii; 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 Applied. Fabrice. Gregory Alexander wrote: > Oops, I've got an updated patch. Version 2. > > I earlier fixed a memory problem in the wrong way. This version should > prevent a possible SEGFAULT under linux as well. > > Thanks, > > GREG > > Gregory Alexander wrote: > >> Win32 networking doesn't work with the write() and read() calls, it >> has to use send() and recv(). This code replaces socket write() and >> read() calls in the slirp code, and also adds a changes a few other >> minor changes that were necessary to make the slirp code work in a >> Windows environment.