error: `getaddrinfo' was not declared in this scope
error: `freeaddrinfo' was not declared in this scope
#define _WIN32_WINNT
#define _WIN32_WINNT 0x501
You would think Code::Blocks would do it for you... <_<Why should it? What if I want to pass a different version?