I was unable to build the project, so I made the following changes to the project:
TCPInterface.cpp:
Fixed relative include directive for WSAStartupSingleton.h (it was one directory up).
UDPForwarder.cpp:
RAK_THREAD_DECLARATION expands out to a function signature that returns an unsigned/DWORD on Windows systems, and otherwise a void*. I changed the return value to reflect this change (returns 0 or nullptr).
RakNetSocket2_Windows_Linux.cpp:
Added missing preprocessor conditional. I'm not 100% sure on this change, but further down in the file is a similar block of code with this conditional, so I added it here. To me it makes sense since there's no netdb.h include on Windows, it's all in winsock2.h.
With all these changes I was able to build the project on MSVC 15 2017.
I looked through the open and closed issues and did not see anything addressing these problems.
I apologize if this pull request was made in error.
I was unable to build the project, so I made the following changes to the project:
TCPInterface.cpp:
UDPForwarder.cpp:
RakNetSocket2_Windows_Linux.cpp:
With all these changes I was able to build the project on MSVC 15 2017.
I looked through the open and closed issues and did not see anything addressing these problems.
I apologize if this pull request was made in error.