#define _CRT_SECURE_NO_WARNINGS #define _WINSOCKAPI_ // don't include winsock 1.x #include #include #include #include