Fixed part of the XBOX problem.

XTL needs to be included somewhre, but I don't know the details.
Renaud, if you could just include that in whever it is necessiary.
This commit is contained in:
Charles Lohr
2004-07-20 04:07:06 +00:00
parent 0047e04998
commit 0d4dde7dcd
+8
View File
@@ -60,7 +60,15 @@ bool EzSockets::create(int Protocol) {
case IPPROTO_UDP:
return create(IPPROTO_UDP, SOCK_DGRAM);
default:
//XBOX does not support the raw socket.
//So, since there's no need, we aren't
//going to allow it on XBOX
#if defined(_XBOX)
return false;
#else
return create(Protocol, SOCK_RAW);
#endif
}
}