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:
@@ -60,7 +60,15 @@ bool EzSockets::create(int Protocol) {
|
|||||||
case IPPROTO_UDP:
|
case IPPROTO_UDP:
|
||||||
return create(IPPROTO_UDP, SOCK_DGRAM);
|
return create(IPPROTO_UDP, SOCK_DGRAM);
|
||||||
default:
|
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);
|
return create(Protocol, SOCK_RAW);
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user