From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfwFB-00031j-HJ for qemu-devel@nongnu.org; Tue, 16 May 2006 05:53:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfwFA-00031H-Ot for qemu-devel@nongnu.org; Tue, 16 May 2006 05:53:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfwFA-00031E-Kn for qemu-devel@nongnu.org; Tue, 16 May 2006 05:53:32 -0400 Received: from [211.5.2.79] (helo=nm01omta019.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.52) id 1Ffvvm-00051X-HG for qemu-devel@nongnu.org; Tue, 16 May 2006 05:33:30 -0400 Message-ID: <000601c678cb$71b688c0$0464a8c0@athlon> From: "Kazu" References: <000601c6758e$0ffe7ce0$0464a8c0@athlon><44677879.3090809@bellard.org> <000601c67828$6542a810$0464a8c0@athlon> Subject: Re: [Qemu-devel] [PATCH] VLAN and Tap for win32 Date: Tue, 16 May 2006 18:31:00 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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 Sent: Monday, May 15, 2006 11:03 PM Kazu wrote: > > I heard that WSAWaitForMultipleEvents is the same as WaitForMultipleObjects > in winsock 2 mailing list. I used it. > I think supressing polling means using win32 thread. Is it OK? I will try to > use threads. > > http://www.h7.dion.ne.jp/~qemu-win/download/qemu-20060515-tap.patch > WSAWaitForMultipleEvents needs WSAStartup. WaitForMultipleObjects can wait for network events. WaitForMultipleObjects is better. http://www.h7.dion.ne.jp/~qemu-win/download/qemu-20060516-tap.patch Regards, Kazu