http://bugs.winehq.org/show_bug.cgi?id=7929
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #115 from Bruno Jesus 00cpxxx@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.