Changeset 7394 for code/branches/ipv6/src
- Timestamp:
- Sep 9, 2010, 8:44:25 PM (14 years ago)
- Location:
- code/branches/ipv6/src/external/enet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ipv6/src/external/enet/unix.c
r7393 r7394 450 450 struct timeval timeVal; 451 451 int selectCount; 452 ENetSocket maxSocket; 452 453 453 454 timeVal.tv_sec = timeout / 1000; … … 473 474 } 474 475 475 ENetSocketmaxSocket = 0;476 maxSocket = 0; 476 477 if (socket4 != ENET_SOCKET_NULL) 477 478 maxSocket = socket4; -
code/branches/ipv6/src/external/enet/win32.c
r7392 r7394 14 14 enet_initialize (void) 15 15 { 16 WORD versionRequested = MAKEWORD ( 1, 1);16 WORD versionRequested = MAKEWORD (2, 2); 17 17 WSADATA wsaData; 18 18 … … 20 20 return -1; 21 21 22 if (LOBYTE (wsaData.wVersion) != 1||23 HIBYTE (wsaData.wVersion) != 1)22 if (LOBYTE (wsaData.wVersion) != 2|| 23 HIBYTE (wsaData.wVersion) != 2) 24 24 { 25 25 WSACleanup ();
Note: See TracChangeset
for help on using the changeset viewer.