A fork of ATHTTP to make it cross-platform.
Made for a pull request.
-
server/server.hpp/cpp
The socket part and small fixes.
-
utils/utilities.cpp
readFileandwriteObjectToFile. -
template_parser.hpp/cpp
To run Windows system commands.
-
makefile
Link
Ws2_32on Windows. -
examples/main.cpp
Catch exception by reference.
Some useful references on cross-platform socket programming:
Hands-On Network Programming
This Stack Overflow answer
This github gist