http://bugs.winehq.org/show_bug.cgi?id=7929
--- Comment #79 from Erich Hoover ehoover@mines.edu 2009-09-20 11:31:48 --- Created an attachment (id=23673) --> (http://bugs.winehq.org/attachment.cgi?id=23673) Patch to selectively bind while still allowing broadcasts
Attached is a patch I have whipped up that appears to fix the C&C 3 networking issue. I only have one key for C&C3 (so I cannot actually play a game) but I have tested chatting, having multiple interfaces (by adding a VPN connection), and when I attempt to join a game it reports that my serial is in use (rather than the usual connection timeout).
I am interested in comments on the attached patch and would like to request that this bug be re-opened. Please note that this patch adds a minor addition to wineserver, so you will need to run ./tools/make_requests in order to test. Also note that a properly configured /etc/hosts is required for the game to use the correct interface (otherwise it will use the magic IP, which cannot be properly routed).