From ff0e3c28b4d02f27dca5cb0a0d3504e9cb0c991c Mon Sep 17 00:00:00 2001 From: Ade Novan Date: Thu, 13 Oct 2016 01:21:24 +0800 Subject: [PATCH] ptp connect fix solved #8983 for android with high latency --- Core/HLE/proAdhoc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/proAdhoc.h b/Core/HLE/proAdhoc.h index 27f4e48d1d..c0bdd4aacf 100644 --- a/Core/HLE/proAdhoc.h +++ b/Core/HLE/proAdhoc.h @@ -76,7 +76,7 @@ inline bool connectInProgress(int errcode){ return (errcode == WSAEWOULDBLOCK || #define SOCKET_ERROR -1 #define closesocket close #define PACK __attribute__((packed)) -inline bool connectInProgress(int errcode){ return (errcode == EINPROGRESS); } +inline bool connectInProgress(int errcode){ return (errcode == EINPROGRESS || errcode == EALREADY); } #endif #ifndef POLL_ERR