Changeset 240 in Main for trunk/Server/server.c
- Timestamp:
- Oct 3, 2024, 2:54:55 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r219 r240 38 38 #include <wspiapi.h> 39 39 #endif 40 #ifdef USE_WINSOCK1 41 #include <winsock.h> 42 #else 40 43 #include <winsock2.h> 44 #endif 41 45 #include <process.h> 42 46 #include <windows.h> … … 123 127 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 124 128 WSADATA wsa; 129 #ifdef USE_WINSOCK1 130 WSAStartup(MAKEWORD(1, 1), &wsa); 131 #else 125 132 WSAStartup(MAKEWORD(2, 0), &wsa); 133 #endif 126 134 #endif 127 135 for(i = 0; config.ports[i] != -1; i++)
Note:
See TracChangeset
for help on using the changeset viewer.