Closed MisaghM closed 11 months ago
The following changes make the server work both on Windows (compiled with MSVC and MinGW) and Linux. Windows uses winsock2.h for sockets and Ws2_32.lib needs to be linked, hence the change in the Makefile.
winsock2.h
Ws2_32.lib
The following changes make the server work both on Windows (compiled with MSVC and MinGW) and Linux. Windows uses
winsock2.h
for sockets andWs2_32.lib
needs to be linked, hence the change in the Makefile.