another windows build error in IXUdpSocket ...

This commit is contained in:
Benjamin Sergeant 2020-05-05 08:29:39 -07:00
parent f075f586e1
commit 2de8aafcbc

View File

@ -76,7 +76,7 @@ namespace ix
#ifdef _WIN32 #ifdef _WIN32
unsigned long nonblocking = 1; unsigned long nonblocking = 1;
ioctlsocket(sockfd, FIONBIO, &nonblocking); ioctlsocket(_sockfd, FIONBIO, &nonblocking);
#else #else
fcntl(_sockfd, F_SETFL, O_NONBLOCK); // make socket non blocking fcntl(_sockfd, F_SETFL, O_NONBLOCK); // make socket non blocking
#endif #endif