From 2d202e4e196414331a995ecd24aea764aee03eb8 Mon Sep 17 00:00:00 2001 From: ldcsaa Date: Sun, 16 May 2021 16:01:41 +0800 Subject: [PATCH] 20210516 --- Linux/src/SocketHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux/src/SocketHelper.cpp b/Linux/src/SocketHelper.cpp index 3822499..4733190 100644 --- a/Linux/src/SocketHelper.cpp +++ b/Linux/src/SocketHelper.cpp @@ -177,7 +177,7 @@ BOOL GetSockAddrByHostNameDirectly(LPCTSTR lpszHost, USHORT usPort, HP_SOCKADDR& addrinfo hints = {0}; #if defined(__ANDROID__) - hints.ai_flags = AI_DEFAULT; + hints.ai_flags = 0; #else hints.ai_flags = (AI_V4MAPPED | AI_ADDRCONFIG); #endif