Initial commit

This commit is contained in:
maxdcb
2026-04-21 13:49:25 +02:00
commit ecbd2ceaaa
28 changed files with 1540 additions and 0 deletions
@@ -0,0 +1,29 @@
#include "SocketHandler.hpp"
#include <iostream>
using namespace std;
using namespace SocketHandler;
int main()
{
int remotePort=4444;
string remoteHost="127.0.0.1";
Client* client=new Client(remoteHost, remotePort);
while(1)
{
string out="Hello";
client->sendData(out);
string ret;
client->receive(ret);
std::cout << "Client - " << ret << std::endl;
Sleep(1000);
}
}