WSADATA wsaDate;
WORD DLLVersion = MAKEWORD(2, 1);
if(WSAStartup(DLLVersion, &wsaDate) != 0);
{
std::cout << "Error" << std::endl;
exit(1);
}
#pragma comment(lib, "ws2_32.lib")
#include <winsock2.h>
#include <iostream>
#include <conio.h>