SocketServer.cpp:
Код: Выделить всё
#include
#include
using namespace std;
int main() {
//Initialize the WSA variables
WSADATA ws;
if (WSAStartup(MAKEWORD(2,2), &ws) < 0)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79241950/how-do-i-add-the-ws2-32-lib-library-wsastartup-doesnt-work[/url]
Мобильная версия