From 2de8aafcbc8112b58f3111d067320a0f62481682 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Tue, 5 May 2020 08:29:39 -0700 Subject: [PATCH] another windows build error in IXUdpSocket ... --- ixwebsocket/IXUdpSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixwebsocket/IXUdpSocket.cpp b/ixwebsocket/IXUdpSocket.cpp index 5c753946..d1248282 100644 --- a/ixwebsocket/IXUdpSocket.cpp +++ b/ixwebsocket/IXUdpSocket.cpp @@ -76,7 +76,7 @@ namespace ix #ifdef _WIN32 unsigned long nonblocking = 1; - ioctlsocket(sockfd, FIONBIO, &nonblocking); + ioctlsocket(_sockfd, FIONBIO, &nonblocking); #else fcntl(_sockfd, F_SETFL, O_NONBLOCK); // make socket non blocking #endif