Implemented hearbeat
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#define MESSAGE_LENGTH 256
|
||||
#define COMMAND_LENGTH 16
|
||||
|
||||
#define HEARTBEAT_INTERVAL 3 // in seconds
|
||||
#define HEARTBEAT_TIMEOUT 10
|
||||
|
||||
typedef enum {
|
||||
Message = 1,
|
||||
Login,
|
||||
|
||||
Reference in New Issue
Block a user