Requesting comments on patchset to fix Bug 7929 (C&C 3 network does not work)

Alexandre Julliard julliard at winehq.org
Mon Oct 12 13:04:04 CDT 2009


Erich Hoover <ehoover at mines.edu> writes:

> Maybe I'm missing something, but the only case I found that required extra
> wineserver work was for handling asynchronous ReadFile requests (since these
> requests don't go through the ws2_32 path, see patch 6).  Using ReadFile
> like that is technically something you're not supposed to do, but we all
> know that means that someone's done it anyway.  For everything else (send,
> recv, select) the proposed technique just requires a check to see if
> IP_PKTINFO is enabled so it can throw out the packet if it doesn't match the
> socket's interface.

The main problem is you can't throw out packets reliably in a
multithread/multiprocess environment. I know this is UDP, but still
I don't think it's acceptable to risk throwing out valid packets.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list