I send this mail again because it doesn't reach qemu-devel list by unknown
Sent: Sunday, February 05, 2006 3:28 AM Fabrice Bellard wrote:
> 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
>> = WSAEWOULDBLOCK and second time err = WSAEINVAL. I think changing the
>> 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.
There is not good way to detect a completion of asynchronous connect. So I
used an event object to detect it. A patch is attached.
>> For -net socket,mcast, bind have to be done by sin_addr.s_addr =
>> 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.
I couldn't find a way to set a multicast address. I made it a special case
in the patch
Qemu-devel mailing list