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 12:23:07 -07:00
committed by GitHub
parent d2486dd73b
commit 138c738ba0

View File

@@ -121,7 +121,7 @@ namespace XPC
#endif
return -1;
}
if (result == 0)
if (status == 0)
{
// No data
return -1;