From 8ed6b39779e17a9fb140daafa140385f69cd2bc4 Mon Sep 17 00:00:00 2001 From: Jason Watkins Date: Fri, 1 May 2015 09:13:12 -0700 Subject: [PATCH] Increased the timeout for select in the C client on Windows. --- C/src/xplaneConnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/src/xplaneConnect.c b/C/src/xplaneConnect.c index 48c29dc..cd88e27 100755 --- a/C/src/xplaneConnect.c +++ b/C/src/xplaneConnect.c @@ -196,7 +196,7 @@ int readUDP(XPCSocket sock, char buffer[], int len) struct timeval tv; tv.tv_sec = 0; - tv.tv_usec = 250; + tv.tv_usec = 100000; // Select Command int status = select(-1, &stReadFDS, (FD_SET*)0, &stExceptFDS, &tv);