Minimize SendTo and Read Socket Timeout Delays

SendTo and Read were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions and coded in the same manner as the xplaneConnect.c functions.
This commit is contained in:
Norman Princen
2020-05-12 13:18:47 -07:00
committed by GitHub
parent 121b3c92f8
commit e2a6820d34

View File

@@ -110,7 +110,7 @@ namespace XPC
tv.tv_usec = 0;
// Select Command
int status = select(-1, &stReadFDS, (FD_SET *)0, &stExceptFDS, &tv);
int status = select(-1, &stReadFDS, (FD_SET*)0, &stExceptFDS, &tv);
if (status < 0)
{
#ifdef _WIN32