Increased the timeout for select in the C client on Windows.
This commit is contained in:
@@ -196,7 +196,7 @@ int readUDP(XPCSocket sock, char buffer[], int len)
|
|||||||
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
tv.tv_sec = 0;
|
tv.tv_sec = 0;
|
||||||
tv.tv_usec = 250;
|
tv.tv_usec = 100000;
|
||||||
|
|
||||||
// Select Command
|
// Select Command
|
||||||
int status = select(-1, &stReadFDS, (FD_SET*)0, &stExceptFDS, &tv);
|
int status = select(-1, &stReadFDS, (FD_SET*)0, &stExceptFDS, &tv);
|
||||||
|
|||||||
Reference in New Issue
Block a user