4#include "wordle-de.pb.h"
9#define INPUT_BUFFER_SIZE 1000
18 Client(
const std::string &,
const int &);
Definition: client.hpp:10
sockaddr_in serverAddr
Definition: client.hpp:12
uint16_t sendMessage(const char *)
Definition: client.cpp:37
char inputBuffer[INPUT_BUFFER_SIZE]
Definition: client.hpp:13
void disconnectFromServer()
Definition: client.cpp:35
void connectToServer()
Definition: client.cpp:27
wordle_de::Message receiveMessage()
Definition: client.cpp:41
int sock
Definition: client.hpp:11
std::function< void(uint16_t fd, char *)> receiveCallbackType
Definition: client.hpp:14
Client()
Definition: client.cpp:8
#define INPUT_BUFFER_SIZE
Definition: client.hpp:9