[Top][All Lists]

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

Re: [Qemu-devel][PATCH] Tap and VLAN socket support for win32

From: Fabrice Bellard
Subject: Re: [Qemu-devel][PATCH] Tap and VLAN socket support for win32
Date: Sat, 04 Feb 2006 19:28:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Kazu wrote:
Thursday, February 02, 2006 8:10 AM Fabrice Bellard wrote:


I merged your patches and I made important changes to simplify them. I
did not do any tests so tell me if you see problems.

-net socket,connect doesn't work. On Windows host, connect returns with err
= WSAEWOULDBLOCK and second time err = WSAEINVAL. I think changing the place
of EWOULDBLOCK would be good. On Linux host, EWOULDBLOCK is the same as
EAGAIN but a patch works on both Linux and Windows.

Unfortunately on Linux the correct return value we are expecting is EINPROGRESS. EAGAIN means that the 'connect' was not initiated so it is necessary to redo it.

For -net socket,mcast, bind have to be done by sin_addr.s_addr = INADDR_ANY.
It seems that it works on Linux host.

It works on Linux but it is not correct because it prevents from listening to several multicast addresses at the same time. If doing the same on Windows is not possible I agree to make a special case.


reply via email to

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