1 2 3 4 5 6 7 8 9
#define _CRT_SECURE_NO_WARNINGS #define _WINSOCKAPI_ // don't include winsock 1.x #include <windows.h> #include <ws2tcpip.h> #include <string> #include <iostream>