[Bug 7929] C&C 3 network does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 14 15:45:30 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=7929





--- Comment #87 from Erich Hoover <ehoover at mines.edu>  2009-10-14 15:45:29 ---
(In reply to comment #86)
> ...
> I am eagerly awaiting progress on this new effort to bring network support. 
> ...

For the curious, I'm researching the concern that Alexandre expressed (loss of
packets in a multithreaded environment with simultaneous reads or selects on
the same socket).  In ws2_32 (normal operations) this is solved easily with a
couple well-placed socket-specific spinlocks, within the Wine server (IOCP
operation) it APPEARS that it is not necessary to do any locking since the IOCP
polling and reading all seems to occur in the same thread (note that a socket
can not be used "normally" once it has been flagged for IOCP).  If anyone has
any additional insight on this issue then I'd love to hear it, I'm a tad busy
right now so tracking these things down in the server code is not on the top of
my priority list.

> However in the meantime since the packages included in the howto do not provide
> network support, it may be easier for users to grab this binary and overwrite
> the default wine one.
> ...

Who made the original packages?  It would be really nice to have some updated
packages.

> ... make sure your /etc/hosts file is properly set up;
> ...

If you add the patches I've been working on for gethostbyname('self') then it
is no-longer necessary to manually edit your /etc/hosts file:
[1/2] http://www.winehq.org/pipermail/wine-patches/2009-October/079872.html
[2/2] http://www.winehq.org/pipermail/wine-patches/2009-October/079873.html

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list