• Daniel Cohen Gindi's avatar
    Use correct `winsock2.h` version header instead of winsock.h. · 741a1844
    Daniel Cohen Gindi authored
    `windows.h` is referring to `winsock.h` (unless the `WIN32_LEAN_AND_MEAN` is defined).
    The structs used in this header are defined in `winsock2.h` or in `winsock.h`, but we are using Winsock2 of course!
    So we have to include winsock2.h and refrain from including windows.h here
    741a1844