Skip to content
Snippets Groups Projects
Commit 0e0e99ed authored by Saif Eddine Askri's avatar Saif Eddine Askri
Browse files

add server and client

parents 4981d3dc eae1e4a8
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,10 @@
#include <unistd.h>
#include <arpa/inet.h>
#define SERVER_IP "127.0.0.1"
#define PORT 8080
#define SERVER_IP "141.100.42.11"
#define PORT 2525
#define BUFFER_SIZE 1024
std::string createMessage(const std::string& operation, const std::string& key, const std::string& value = "") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment