Winsock2.h must be included before anything that includes Winsock.h.