another windows build error in IXUdpSocket ...
This commit is contained in:
parent
f075f586e1
commit
2de8aafcbc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user