Initial commit

This commit is contained in:
2025-04-29 17:45:27 +03:00
commit cc1bb79633
10 changed files with 441 additions and 0 deletions

21
include/client.hpp Normal file
View File

@@ -0,0 +1,21 @@
#ifndef CLIENT
#define CLIENT
#include <iostream>
#include <cstring>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
const int PORT = 8080;
class Client{
private:
int sock;
public:
Client() : sock(0){};
void run();
int ping(struct sockaddr_in);
};
#endif