[Bug 7929] C&C 3 network does not work
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Sep 30 09:48:51 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=7929
Bruno Jesus <00cpxxx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |00cpxxx at gmail.com
--- Comment #115 from Bruno Jesus <00cpxxx at gmail.com> 2011-09-30 09:48:51 CDT ---
Sorry to bother but why do you get the adapters list and cycle throught it if
the support may be not available?
Isn't it better to simply:
+#ifdef SO_BINDTODEVICE
+ else if (interface_bind(fd, &uaddr.addr))
+ {
+ /* Bound to a specific interface, change the binding
+ * address so that broadcast packets work properly */
+ in4->sin_addr.s_addr = htonl(WS_INADDR_ANY);
+ }
+#endif /* SO_BINDTODEVICE */
Or maybe the code did something I didn't see in case it's not supported.
--
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