heis/elev-threaded/globals.h

25 lines
409 B
C
Executable File

#ifndef __INCLUDE_GLOBALS_H__
#define __INCLUDE_GLOBALS_H__
#define ELEV_GAIN 200
#define PORT 20202
#define PORTSTR "20202"
#define IPGROUP "129.241.187.255"
#define TCP_LISTEN_TIMEOUT 2
#define TCP_PING_INTERVAL 1
#define PING_ATTEMPTS 3
#define MAX_ELEV 10
// Flags for network communication
#define PING 1
#define PONG 2
#define ORDER 3
#define REQUEST 4
#define STATUS 5
#define CANDIDATE 6
#endif