· 7 years ago · Apr 22, 2018, 02:00 AM
1#include <iostream>
2#include <stdio.h>
3#include <string.h>
4#include <stdlib.h>
5#include <unistd.h>
6#include <sys/types.h>
7#include <sys/socket.h>
8#include <netdb.h>
9#include <arpa/inet.h>
10#include <netinet/in.h>
11
12using namespace std;
13
14int smallSet(char *MachineName, int port, int SecretKey, char *variableName, char *value, int dataLength);
15int smallGet(char *MachineName, int port, int SecretKey, char *variableName);
16int smallDigest(char *MachineName, int port, int SecretKey, char *data, int dataLength);