GFX
Build: 7A176x
I'm currently working on the new 17489 update for my server. Just wondering if it would be a better idea to use a DWORD rather than an unsigned int?
What I am doing with this: Trying to create a timeout so clients don't get stuck at boot logo., but want it to be initialized as fast as possible for no delays.
My current issue interface:
What I am doing with this: Trying to create a timeout so clients don't get stuck at boot logo., but want it to be initialized as fast as possible for no delays.
My current issue interface:
Code:
/*// Timeout strts!
DWORD timeout=2500;
if(NetDll_setsockopt(XNCALLER_SYSAPP, hSocket, SOL_SOCKET, SO_RCVTIMEO, (PCSTR)&timeout, sizeof(DWORD)) != 0) {
lastSocketError = WSAGetLastError();
DbgPrint("InitCommand: SO_RCVTIMEO error %d", lastSocketError);
return E_FAIL;
}
timeout=2500;
if(NetDll_setsockopt(XNCALLER_SYSAPP, hSocket, SOL_SOCKET, SO_SNDTIMEO, (PCSTR)&timeout, sizeof(DWORD)) != 0) {
lastSocketError = WSAGetLastError();
DbgPrint("InitCommand: SO_SNDTIMEO error %d", lastSocketError);
return E_FAIL;
}*/