Manually merged fix from nurupo.

This commit is contained in:
irungentoo 2013-06-24 19:40:38 -04:00
parent cc1a3f52ee
commit 8bc40b7f13

View File

@ -45,7 +45,8 @@ int main(int argc, char *argv[])
#ifdef WIN32
//I think this works for windows
u_long mode = 1;
ioctl(sock, FIONBIO, &mode);
//ioctl(sock, FIONBIO, &mode);
ioctlsocket(sock, FIONBIO, &mode);
#else
fcntl(sock, F_SETFL, O_NONBLOCK, 1);
#endif