Erich Hoover ehoover@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.