Files
Maze/include/client.hpp
2025-04-29 17:45:27 +03:00

21 lines
293 B
C++

#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