replace gethostbyname with getaddrinfo

#217
This commit is contained in:
Linus Dierheimer
2022-08-21 23:35:22 +02:00
parent 11809e30b5
commit 47373998d5
2 changed files with 19 additions and 4 deletions
-1
View File
@@ -11,7 +11,6 @@ void ffNetworkingGetHttp(const char* host, const char* path, uint32_t timeout, F
struct addrinfo hints = {0};
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = 0;
struct addrinfo* addr;