fix WSAEAFNOSUPPORT (10047)

This commit is contained in:
MihailRis 2024-11-27 20:31:05 +03:00
parent 6af6eda78e
commit 43a838b1a5

View File

@ -393,7 +393,7 @@ public:
) {
addrinfo hints {};
hints.ai_family = AF_UNSPEC;
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
addrinfo* addrinfo;