compholio, on 17 February 2012 - 04:23 AM, said:
C&C Generals Zero Hour
OS X Lion on current Macbook Air 13.
Posted 17 February 2012 - 09:55 PM
airgin, on 17 February 2012 - 08:52 AM, said:
#ifdef IP_BOUND_IF
# error "The option exists!"
#else
# error "The option doesn't exist :("
#endif
Posted 17 February 2012 - 10:12 PM
Posted 17 February 2012 - 10:18 PM
doh123, on 17 February 2012 - 10:12 PM, said:
WINEDEBUG="+winsock" wine NameOfProgram.exe 2>&1 | grep interface
Posted 17 February 2012 - 10:34 PM
Posted 17 February 2012 - 10:37 PM
doh123, on 17 February 2012 - 10:34 PM, said:
Posted 18 February 2012 - 10:34 AM
Posted 18 February 2012 - 04:03 PM
airgin, on 18 February 2012 - 10:34 AM, said:
fixme:winsock:interface_bind Using broadcast packets on interface-bound sockets is not currently supported on this platform,bound broadcast packets will not work on this socket.
Posted 18 February 2012 - 05:37 PM
syao@silmaril ~ $ cat << EOF | gcc -xc -
> #include <sys/socket.h>
> #include <netinet/in.h>
>
> #if defined(IP_BOUND_IF)
> # error "The option exists!"
> #else
> # error "The option doesn't exist :("
> #endif
>
> EOF
<stdin>:5:3: error: #error "The option exists!"

Posted 18 February 2012 - 08:04 PM
eo-mac:~ eo$ cat << EOF | gcc -xc - > #include <sys/socket.h> > #include <netinet/in.h> > #if defined(IP_BOUND_IF) > # error "The option exists!" > #else > # error "The option doesn't exist " > #endif > EOF <stdin>:4:3: error: #error "The option exists!"
Posted 18 February 2012 - 08:34 PM
syao, on 18 February 2012 - 05:37 PM, said:
#if defined(IP_BOUND_IF)
if (setsockopt(fd, IPPROTO_IP, IP_BOUND_IF, &adapter->Index, sizeof(adapter->Index)) != 0)
{
ERR("IP_BOUND_IF failed, bound broadcast packets will not work on this socket.\n");
goto cleanup;
}
TRACE("Socket %04lx bound to interface index %d\n", s, adapter->Index);
ret = TRUE;
#else /* No known way to bind to an interface on this platform */
FIXME("Using broadcast packets on interface-bound sockets is not currently supported on this platform,"
"bound broadcast packets will not work on this socket.\n");
#endif
Posted 20 February 2012 - 12:20 PM
Posted 20 February 2012 - 06:48 PM
Posted 20 February 2012 - 07:22 PM
doh123, on 20 February 2012 - 06:48 PM, said:
#define IP_BOUND_IF TheNumberForTheOption
Posted 20 February 2012 - 08:33 PM
Posted 20 February 2012 - 09:09 PM
doh123, on 20 February 2012 - 08:33 PM, said:
Posted 20 February 2012 - 09:18 PM
compholio, on 20 February 2012 - 09:15 PM, said:
Posted 20 February 2012 - 09:38 PM
airgin, on 20 February 2012 - 09:18 PM, said:
Posted 20 February 2012 - 10:01 PM
Posted 20 February 2012 - 10:05 PM
airgin, on 20 February 2012 - 10:01 PM, said:
Posted 20 February 2012 - 10:23 PM
Posted 20 February 2012 - 10:45 PM
airgin, on 20 February 2012 - 10:23 PM, said:
Posted 21 February 2012 - 12:21 AM
Posted 21 February 2012 - 05:20 AM
airgin, on 20 February 2012 - 10:23 PM, said:
Posted 21 February 2012 - 07:11 AM
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 127.0.1.1 eo-mac 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost
Posted 21 February 2012 - 11:22 AM
compholio, on 21 February 2012 - 05:20 AM, said:
0 members, 0 guests, 0 anonymous users