Skip to content

Display and control your Android device

Accept Windows Sockets from version 1.1

Romain Vimont0702be86d8b0
diff --git a/app/src/util/net.c b/app/src/util/net.c
index c762a10f..67317ead 100644
--- a/app/src/util/net.c
+++ b/app/src/util/net.c
@@ -30,7 +30,7 @@ bool
net_init(void) {
#ifdef _WIN32
WSADATA wsa;
- int res = WSAStartup(MAKEWORD(2, 2), &wsa);
+ int res = WSAStartup(MAKEWORD(1, 1), &wsa);
if (res) {
LOGE("WSAStartup failed with error %d", res);
return false;