Skip to content

Commit ab147f7

Browse files
committed
Ask for Winsock 2.2, not 2.0
1 parent fe52b79 commit ab147f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remote/inet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ static rem_port* alloc_port(rem_port* const parent, const USHORT flags)
13901390
{
13911391
#ifdef WIN_NT
13921392
static WSADATA wsadata;
1393-
constexpr WORD version = MAKEWORD(2, 0);
1393+
constexpr WORD version = MAKEWORD(2, 2);
13941394
const int wsaError = WSAStartup(version, &wsadata);
13951395
if (wsaError)
13961396
{

0 commit comments

Comments
 (0)